Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: function should have one argument #88

Open
ingenieroariel opened this issue Jul 29, 2018 · 3 comments
Open

error: function should have one argument #88

ingenieroariel opened this issue Jul 29, 2018 · 3 comments

Comments

@ingenieroariel
Copy link

 Compiling ford v0.1.0 (file:///d/ariel/ford)
     Running `rustc --crate-name root_task src/bin/root-task.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=e1f0aa99d9d3328b -C extra-filename=-e1f0aa99d9d3328b --out-dir /d/ariel/ford/target/x86_64-sel4-fel4/debug/deps --target x86_64-sel4-fel4 -C incremental=/d/ariel/ford/target/x86_64-sel4-fel4/debug/incremental -L dependency=/d/ariel/ford/target/x86_64-sel4-fel4/debug/deps -L dependency=/d/ariel/ford/target/debug/deps --extern ford=/d/ariel/ford/target/x86_64-sel4-fel4/debug/deps/libford-36ca55aed3b5374f.rlib --extern sel4_sys=/d/ariel/ford/target/x86_64-sel4-fel4/debug/deps/libsel4_sys-9c0ac78615977704.rlib --cfg 'feature="BuildWithCommonSimulationSettings"' --cfg 'feature="KernelColourPrinting"' --cfg 'feature="KernelDebugBuild"' --cfg 'feature="KernelFastpath"' --cfg 'feature="KernelHugePage"' --cfg 'feature="KernelIRQReporting"' --cfg 'feature="KernelMultiboot1Header"' --cfg 'feature="KernelMultiboot2Header"' --cfg 'feature="KernelPrinting"' --cfg 'feature="KernelSkimWindow"' --sysroot /home/x/.xargo -L native=/d/ariel/ford/target/x86_64-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out -L native=/d/ariel/ford/target/x86_64-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out/build/libsel4`
error: function should have one argument
   --> src/bin/root-task.rs:181:1
    |
181 | / pub extern "C" fn oom() -> ! {
182 | |     #[cfg(feature = "KernelPrinting")]
183 | |     {
184 | |         use core::fmt::Write;
...   |
192 | |     }
193 | | }
    | |_^

error: aborting due to previous error

error: Could not compile `ford`.

Caused by:
  process didn't exit successfully: `rustc --crate-name root_task src/bin/root-task.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=e1f0aa99d9d3328b -C extra-filename=-e1f0aa99d9d3328b --out-dir /d/ariel/ford/target/x86_64-sel4-fel4/debug/deps --target x86_64-sel4-fel4 -C incremental=/d/ariel/ford/target/x86_64-sel4-fel4/debug/incremental -L dependency=/d/ariel/ford/target/x86_64-sel4-fel4/debug/deps -L dependency=/d/ariel/ford/target/debug/deps --extern ford=/d/ariel/ford/target/x86_64-sel4-fel4/debug/deps/libford-36ca55aed3b5374f.rlib --extern sel4_sys=/d/ariel/ford/target/x86_64-sel4-fel4/debug/deps/libsel4_sys-9c0ac78615977704.rlib --cfg 'feature="BuildWithCommonSimulationSettings"' --cfg 'feature="KernelColourPrinting"' --cfg 'feature="KernelDebugBuild"' --cfg 'feature="KernelFastpath"' --cfg 'feature="KernelHugePage"' --cfg 'feature="KernelIRQReporting"' --cfg 'feature="KernelMultiboot1Header"' --cfg 'feature="KernelMultiboot2Header"' --cfg 'feature="KernelPrinting"' --cfg 'feature="KernelSkimWindow"' --sysroot /home/x/.xargo -L native=/d/ariel/ford/target/x86_64-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out -L native=/d/ariel/ford/target/x86_64-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out/build/libsel4` (exit code: 1)
error: Failed to run the build command
[command error] command status returned: exit code: 101
@ingenieroariel
Copy link
Author

Reproduced with cargo test

x@msi:/d/ariel/cargo-fel4$ cargo version
cargo 1.29.0-nightly (506eea76e 2018-07-17)
commit 7309d21bed04890aa6fb8d44a2ed7ab4730f56be (HEAD -> master, origin/master, origin/HEAD)
Merge: a9b4a8a 3a6718b
Author: Zack Pierce <[email protected]>
Date:   Tue Jun 5 06:15:23 2018 -0700

    Merge pull request #84 from pittma/tb/update-readme
    
    move attribution to readme
x@msi:/d/ariel/cargo-fel4$ cargo test
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s                                              
     Running target/debug/deps/cargo_fel4-bcfc613ad5ac7fdb

running 1 test
test cmake_codegen::tests::indentation_control ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

     Running target/debug/deps/cargo_fel4-21ff0dbc360be3ad

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

     Running target/debug/deps/basic_integration-5293e78755930bce

running 3 tests
     Created library `foo` project
     Created library `foo` project
test cargo_fel4_new_runs_in_temp_dir_with_success ... ok
+ "rustc" "--print" "sysroot"
+ "rustc" "--print" "target-list"
+ RUSTFLAGS="--cfg feature=\"BuildWithCommonSimulationSettings\" --cfg feature=\"ElfloaderErrata764369\" --cfg feature=\"KernelAArch32FPUEnableContextSwitch\" --cfg feature=\"KernelColourPrinting\" --cfg feature=\"KernelDebugBuild\" --cfg feature=\"KernelFastpath\" --cfg feature=\"KernelPrinting\" --sysroot /home/x/.xargo"
+ "cargo" "rustc" "--bin" "root-task" "--manifest-path" "/tmp/.tmp9LBIbj/armv7/Cargo.toml" "--verbose" "--target" "armv7-sel4-fel4"
    Updating git repository `https://github.com/PolySync/libsel4-sys.git`
    Updating registry `https://github.com/rust-lang/crates.io-index`                                       
    Updating git repository `https://github.com/PolySync/fel4-config.git`
   Compiling unicode-xid v0.0.4                                                                            
   Compiling quote v0.3.15
   Compiling cc v1.0.18
   Compiling libc v0.2.42
   Compiling glob v0.2.11
   Compiling void v1.0.2
   Compiling serde v1.0.70
   Compiling lazy_static v1.0.2
     Running `rustc --crate-name unicode_xid /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.0.4/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=b9f8750f999d6b80 -C extra-filename=-b9f8750f999d6b80 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name quote /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-0.3.15/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=0569b3e422de3319 -C extra-filename=-0569b3e422de3319 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name cc /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.18/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=2228ce4a0a41b091 -C extra-filename=-2228ce4a0a41b091 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name libc /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.42/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=d841c3b7dc96ec9f -C extra-filename=-d841c3b7dc96ec9f --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name glob /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/glob-0.2.11/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=190423b9ee880593 -C extra-filename=-190423b9ee880593 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name void /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=308b1eaba763a6aa -C extra-filename=-308b1eaba763a6aa --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name build_script_build /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.70/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=b83076c609be0dcf -C extra-filename=-b83076c609be0dcf --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/build/serde-b83076c609be0dcf -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name lazy_static /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.0.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=b7dd79a2f2b3d230 -C extra-filename=-b7dd79a2f2b3d230 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling unicode-width v0.1.5
     Running `rustc --crate-name unicode_width /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.5/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=66992e89be8113d7 -C extra-filename=-66992e89be8113d7 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling regex v0.2.11
     Running `rustc --crate-name build_script_build /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.2.11/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=9d51c6d716802f67 -C extra-filename=-9d51c6d716802f67 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/build/regex-9d51c6d716802f67 -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling ucd-util v0.1.1
     Running `rustc --crate-name ucd_util /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/ucd-util-0.1.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=b49cbf08154365f4 -C extra-filename=-b49cbf08154365f4 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling ansi_term v0.11.0
     Running `rustc --crate-name ansi_term /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/ansi_term-0.11.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=0152e222680e14d7 -C extra-filename=-0152e222680e14d7 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling vec_map v0.8.1
     Running `rustc --crate-name vec_map /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=cf453df8ca52efeb -C extra-filename=-cf453df8ca52efeb --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling utf8-ranges v1.0.0
     Running `rustc --crate-name utf8_ranges /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-1.0.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=7c8804324dd79d41 -C extra-filename=-7c8804324dd79d41 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling bitflags v1.0.3
   Compiling bindgen v0.35.0
     Running `rustc --crate-name bitflags /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.0.3/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=9ea63576e5d2288d -C extra-filename=-9ea63576e5d2288d --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name build_script_build /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.35.0/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=2602ae24601f516a -C extra-filename=-2602ae24601f516a --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/build/bindgen-2602ae24601f516a -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling strsim v0.7.0
     Running `rustc --crate-name strsim /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/strsim-0.7.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=bb87f799d9384570 -C extra-filename=-bb87f799d9384570 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling multimap v0.4.0
     Running `rustc --crate-name multimap /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/multimap-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=7d6d377399a231a3 -C extra-filename=-7d6d377399a231a3 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling peeking_take_while v0.1.2
     Running `rustc --crate-name peeking_take_while /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/peeking_take_while-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=bf7ee640f36bf387 -C extra-filename=-bf7ee640f36bf387 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling cfg-if v0.1.4
     Running `rustc --crate-name cfg_if /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.4/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=c593ff9e545cead4 -C extra-filename=-c593ff9e545cead4 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow`
   Compiling rlibc v1.0.0
     Running `rustc --crate-name rlibc /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/rlibc-1.0.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=01034283e4dc0986 -C extra-filename=-01034283e4dc0986 --out-dir /tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps --target armv7-sel4-fel4 -L dependency=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow --cfg 'feature="BuildWithCommonSimulationSettings"' --cfg 'feature="ElfloaderErrata764369"' --cfg 'feature="KernelAArch32FPUEnableContextSwitch"' --cfg 'feature="KernelColourPrinting"' --cfg 'feature="KernelDebugBuild"' --cfg 'feature="KernelFastpath"' --cfg 'feature="KernelPrinting"' --sysroot /home/x/.xargo`
   Compiling unreachable v1.0.0
     Running `rustc --crate-name unreachable /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/unreachable-1.0.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=d734772c7ae51613 -C extra-filename=-d734772c7ae51613 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern void=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libvoid-308b1eaba763a6aa.rlib --cap-lints allow`
   Compiling synom v0.11.3
     Running `rustc --crate-name synom /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/synom-0.11.3/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e1d4cbe9b13f3a25 -C extra-filename=-e1d4cbe9b13f3a25 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern unicode_xid=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libunicode_xid-b9f8750f999d6b80.rlib --cap-lints allow`
   Compiling textwrap v0.10.0
     Running `rustc --crate-name textwrap /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/textwrap-0.10.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=53ddefcc432f179c -C extra-filename=-53ddefcc432f179c --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern unicode_width=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libunicode_width-66992e89be8113d7.rlib --cap-lints allow`
   Compiling regex-syntax v0.5.6
     Running `rustc --crate-name regex_syntax /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.5.6/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e788a2f483f0509a -C extra-filename=-e788a2f483f0509a --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern ucd_util=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libucd_util-b49cbf08154365f4.rlib --cap-lints allow`
     Running `/tmp/.tmp9LBIbj/armv7/target/debug/build/serde-b83076c609be0dcf/build-script-build`
     Running `/tmp/.tmp9LBIbj/armv7/target/debug/build/regex-9d51c6d716802f67/build-script-build`
   Compiling clang-sys v0.22.0
     Running `rustc --crate-name build_script_build /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/clang-sys-0.22.0/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="clang_3_9"' --cfg 'feature="gte_clang_3_6"' --cfg 'feature="gte_clang_3_7"' --cfg 'feature="gte_clang_3_8"' --cfg 'feature="gte_clang_3_9"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' -C metadata=86166902a28744e2 -C extra-filename=-86166902a28744e2 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/build/clang-sys-86166902a28744e2 -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern glob=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libglob-190423b9ee880593.rlib --cap-lints allow`
   Compiling memchr v1.0.2
     Running `rustc --crate-name memchr /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-1.0.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="libc"' --cfg 'feature="use_std"' -C metadata=b94142d55bb412c4 -C extra-filename=-b94142d55bb412c4 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern libc=/tmp/.tmp9LBIbj/armv7/target/debug/deps/liblibc-d841c3b7dc96ec9f.rlib --cap-lints allow`
   Compiling memchr v2.0.1
     Running `rustc --crate-name memchr /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.0.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="use_std"' -C metadata=9ce583e4f9a7d4e5 -C extra-filename=-9ce583e4f9a7d4e5 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern libc=/tmp/.tmp9LBIbj/armv7/target/debug/deps/liblibc-d841c3b7dc96ec9f.rlib --cap-lints allow`
   Compiling atty v0.2.11
     Running `rustc --crate-name atty /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.11/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=38e1f7ff318687cd -C extra-filename=-38e1f7ff318687cd --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern libc=/tmp/.tmp9LBIbj/armv7/target/debug/deps/liblibc-d841c3b7dc96ec9f.rlib --cap-lints allow`
   Compiling which v1.0.5
     Running `rustc --crate-name which /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/which-1.0.5/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=a55a4e15b41ff88e -C extra-filename=-a55a4e15b41ff88e --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern libc=/tmp/.tmp9LBIbj/armv7/target/debug/deps/liblibc-d841c3b7dc96ec9f.rlib --cap-lints allow`
   Compiling thread_local v0.3.5
     Running `rustc --crate-name thread_local /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/thread_local-0.3.5/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=1298d25ded8ab49c -C extra-filename=-1298d25ded8ab49c --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern lazy_static=/tmp/.tmp9LBIbj/armv7/target/debug/deps/liblazy_static-b7dd79a2f2b3d230.rlib --extern unreachable=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libunreachable-d734772c7ae51613.rlib --cap-lints allow`
     Running `rustc --crate-name serde /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.70/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=b5d80702a2364ba3 -C extra-filename=-b5d80702a2364ba3 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow --cfg de_boxed_c_str --cfg de_rc_dst --cfg core_duration --cfg integer128 --cfg num_nonzero`
   Compiling syn v0.11.11
   Compiling nom v3.2.1
     Running `rustc --crate-name syn /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="quote"' --cfg 'feature="synom"' --cfg 'feature="unicode-xid"' --cfg 'feature="visit"' -C metadata=6bbc8ecf5807b2b2 -C extra-filename=-6bbc8ecf5807b2b2 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern quote=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libquote-0569b3e422de3319.rlib --extern synom=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libsynom-e1d4cbe9b13f3a25.rlib --extern unicode_xid=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libunicode_xid-b9f8750f999d6b80.rlib --cap-lints allow`
     Running `rustc --crate-name nom /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/nom-3.2.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="std"' --cfg 'feature="stream"' --cfg 'feature="verbose-errors"' -C metadata=d33eb02dddf27774 -C extra-filename=-d33eb02dddf27774 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern memchr=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libmemchr-b94142d55bb412c4.rlib --cap-lints allow`
   Compiling aho-corasick v0.6.6
     Running `rustc --crate-name aho_corasick /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.6.6/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=7d8250bdf22b5fdd -C extra-filename=-7d8250bdf22b5fdd --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern memchr=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libmemchr-9ce583e4f9a7d4e5.rlib --cap-lints allow`
   Compiling libloading v0.5.0
     Running `rustc --crate-name build_script_build /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.5.0/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=bb7237c91d0c4800 -C extra-filename=-bb7237c91d0c4800 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/build/libloading-bb7237c91d0c4800 -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern cc=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libcc-2228ce4a0a41b091.rlib --cap-lints allow`
   Compiling cmake v0.1.31
     Running `rustc --crate-name cmake /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.31/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=f071c33a35741855 -C extra-filename=-f071c33a35741855 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern cc=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libcc-2228ce4a0a41b091.rlib --cap-lints allow`
   Compiling clap v2.32.0
     Running `rustc --crate-name clap /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.32.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="ansi_term"' --cfg 'feature="atty"' --cfg 'feature="color"' --cfg 'feature="default"' --cfg 'feature="strsim"' --cfg 'feature="suggestions"' --cfg 'feature="vec_map"' -C metadata=1e1e6f650f87a5f0 -C extra-filename=-1e1e6f650f87a5f0 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern ansi_term=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libansi_term-0152e222680e14d7.rlib --extern atty=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libatty-38e1f7ff318687cd.rlib --extern bitflags=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libbitflags-9ea63576e5d2288d.rlib --extern strsim=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libstrsim-bb87f799d9384570.rlib --extern textwrap=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libtextwrap-53ddefcc432f179c.rlib --extern unicode_width=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libunicode_width-66992e89be8113d7.rlib --extern vec_map=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libvec_map-cf453df8ca52efeb.rlib --cap-lints allow`
     Running `/tmp/.tmp9LBIbj/armv7/target/debug/build/clang-sys-86166902a28744e2/build-script-build`
     Running `/tmp/.tmp9LBIbj/armv7/target/debug/build/bindgen-2602ae24601f516a/build-script-build`
     Running `/tmp/.tmp9LBIbj/armv7/target/debug/build/libloading-bb7237c91d0c4800/build-script-build`
     Running `rustc --crate-name libloading /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/libloading-0.5.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=2a94635e190ad303 -C extra-filename=-2a94635e190ad303 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --cap-lints allow -L native=/tmp/.tmp9LBIbj/armv7/target/debug/build/libloading-554fc42f347e27b8/out -l dl -l static=global_static`
     Running `rustc --crate-name clang_sys /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/clang-sys-0.22.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="clang_3_9"' --cfg 'feature="gte_clang_3_6"' --cfg 'feature="gte_clang_3_7"' --cfg 'feature="gte_clang_3_8"' --cfg 'feature="gte_clang_3_9"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' -C metadata=12d528652f98d332 -C extra-filename=-12d528652f98d332 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern glob=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libglob-190423b9ee880593.rlib --extern libc=/tmp/.tmp9LBIbj/armv7/target/debug/deps/liblibc-d841c3b7dc96ec9f.rlib --extern libloading=/tmp/.tmp9LBIbj/armv7/target/debug/deps/liblibloading-2a94635e190ad303.rlib --cap-lints allow -L native=/tmp/.tmp9LBIbj/armv7/target/debug/build/libloading-554fc42f347e27b8/out`
   Compiling cexpr v0.2.3
     Running `rustc --crate-name cexpr /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/cexpr-0.2.3/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ca1074b94d8be519 -C extra-filename=-ca1074b94d8be519 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern nom=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libnom-d33eb02dddf27774.rlib --cap-lints allow`
   Compiling synstructure v0.6.1
     Running `rustc --crate-name synstructure /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/synstructure-0.6.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=b16ada75e2b9115b -C extra-filename=-b16ada75e2b9115b --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern quote=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libquote-0569b3e422de3319.rlib --extern syn=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libsyn-6bbc8ecf5807b2b2.rlib --cap-lints allow`
     Running `rustc --crate-name regex /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.2.11/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=66bfe6d28a8ede05 -C extra-filename=-66bfe6d28a8ede05 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern aho_corasick=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libaho_corasick-7d8250bdf22b5fdd.rlib --extern memchr=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libmemchr-9ce583e4f9a7d4e5.rlib --extern regex_syntax=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libregex_syntax-e788a2f483f0509a.rlib --extern thread_local=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libthread_local-1298d25ded8ab49c.rlib --extern utf8_ranges=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libutf8_ranges-7c8804324dd79d41.rlib --cap-lints allow --cfg regex_runtime_teddy_ssse3 --cfg regex_runtime_teddy_avx2`
   Compiling failure_derive v0.1.1
     Running `rustc --crate-name failure_derive /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.1/src/lib.rs --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=23ce493c7e5dad89 -C extra-filename=-23ce493c7e5dad89 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern quote=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libquote-0569b3e422de3319.rlib --extern syn=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libsyn-6bbc8ecf5807b2b2.rlib --extern synstructure=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libsynstructure-b16ada75e2b9115b.rlib --cap-lints allow`
   Compiling failure v0.1.1
     Running `rustc --crate-name failure /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="derive"' --cfg 'feature="failure_derive"' -C metadata=34da79be3a44d6c9 -C extra-filename=-34da79be3a44d6c9 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern failure_derive=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libfailure_derive-23ce493c7e5dad89.so --cap-lints allow`
   Compiling toml v0.4.6
     Running `rustc --crate-name toml /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.4.6/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=3fd79cd4766f3b77 -C extra-filename=-3fd79cd4766f3b77 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern serde=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libserde-b5d80702a2364ba3.rlib --cap-lints allow`
     Running `rustc --crate-name bindgen /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.35.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=a671d97411153c76 -C extra-filename=-a671d97411153c76 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern cexpr=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libcexpr-ca1074b94d8be519.rlib --extern cfg_if=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libcfg_if-c593ff9e545cead4.rlib --extern clang_sys=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libclang_sys-12d528652f98d332.rlib --extern clap=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libclap-1e1e6f650f87a5f0.rlib --extern lazy_static=/tmp/.tmp9LBIbj/armv7/target/debug/deps/liblazy_static-b7dd79a2f2b3d230.rlib --extern peeking_take_while=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libpeeking_take_while-bf7ee640f36bf387.rlib --extern quote=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libquote-0569b3e422de3319.rlib --extern regex=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libregex-66bfe6d28a8ede05.rlib --extern which=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libwhich-a55a4e15b41ff88e.rlib --cap-lints allow -L native=/tmp/.tmp9LBIbj/armv7/target/debug/build/libloading-554fc42f347e27b8/out`
   Compiling fel4-config v0.3.0 (https://github.com/PolySync/fel4-config.git#e33620ff)
     Running `rustc --crate-name fel4_config /home/x/.cargo/git/checkouts/fel4-config-f19926be3e08db21/e33620f/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6da362720a9e3c69 -C extra-filename=-6da362720a9e3c69 --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern cmake=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libcmake-f071c33a35741855.rlib --extern failure=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libfailure-34da79be3a44d6c9.rlib --extern multimap=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libmultimap-7d6d377399a231a3.rlib --extern toml=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libtoml-3fd79cd4766f3b77.rlib --cap-lints allow`
   Compiling libsel4-sys v0.5.0 (https://github.com/PolySync/libsel4-sys.git#d12472b4)
     Running `rustc --crate-name build_script_build /home/x/.cargo/git/checkouts/libsel4-sys-0c6a750eab59b961/d12472b/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=399ce0fc356af54f -C extra-filename=-399ce0fc356af54f --out-dir /tmp/.tmp9LBIbj/armv7/target/debug/build/libsel4-sys-399ce0fc356af54f -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern bindgen=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libbindgen-a671d97411153c76.rlib --extern cmake=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libcmake-f071c33a35741855.rlib --extern fel4_config=/tmp/.tmp9LBIbj/armv7/target/debug/deps/libfel4_config-6da362720a9e3c69.rlib --cap-lints allow -L native=/tmp/.tmp9LBIbj/armv7/target/debug/build/libloading-554fc42f347e27b8/out`
     Running `/tmp/.tmp9LBIbj/armv7/target/debug/build/libsel4-sys-399ce0fc356af54f/build-script-build`
     Running `rustc --crate-name sel4_sys /home/x/.cargo/git/checkouts/libsel4-sys-0c6a750eab59b961/d12472b/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=9c0ac78615977704 -C extra-filename=-9c0ac78615977704 --out-dir /tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps --target armv7-sel4-fel4 -L dependency=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern rlibc=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps/librlibc-01034283e4dc0986.rlib --cap-lints allow --cfg 'feature="BuildWithCommonSimulationSettings"' --cfg 'feature="ElfloaderErrata764369"' --cfg 'feature="KernelAArch32FPUEnableContextSwitch"' --cfg 'feature="KernelColourPrinting"' --cfg 'feature="KernelDebugBuild"' --cfg 'feature="KernelFastpath"' --cfg 'feature="KernelPrinting"' --sysroot /home/x/.xargo -L native=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out -L native=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out/build/libsel4 -l static=sel4`
   Compiling foo v0.1.0 (file:///tmp/.tmp9LBIbj/armv7)
     Running `rustc --crate-name foo src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=42e0c0cade62e81a -C extra-filename=-42e0c0cade62e81a --out-dir /tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps --target armv7-sel4-fel4 -C incremental=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/incremental -L dependency=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern sel4_sys=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps/libsel4_sys-9c0ac78615977704.rlib --cfg 'feature="BuildWithCommonSimulationSettings"' --cfg 'feature="ElfloaderErrata764369"' --cfg 'feature="KernelAArch32FPUEnableContextSwitch"' --cfg 'feature="KernelColourPrinting"' --cfg 'feature="KernelDebugBuild"' --cfg 'feature="KernelFastpath"' --cfg 'feature="KernelPrinting"' --sysroot /home/x/.xargo -L native=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out -L native=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out/build/libsel4`
     Running `rustc --crate-name root_task src/bin/root-task.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=38ef4692435c8239 -C extra-filename=-38ef4692435c8239 --out-dir /tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps --target armv7-sel4-fel4 -C incremental=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/incremental -L dependency=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern foo=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps/libfoo-42e0c0cade62e81a.rlib --extern sel4_sys=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps/libsel4_sys-9c0ac78615977704.rlib --cfg 'feature="BuildWithCommonSimulationSettings"' --cfg 'feature="ElfloaderErrata764369"' --cfg 'feature="KernelAArch32FPUEnableContextSwitch"' --cfg 'feature="KernelColourPrinting"' --cfg 'feature="KernelDebugBuild"' --cfg 'feature="KernelFastpath"' --cfg 'feature="KernelPrinting"' --sysroot /home/x/.xargo -L native=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out -L native=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out/build/libsel4`
error: function should have one argument
   --> src/bin/root-task.rs:166:1
    |
166 | / pub extern "C" fn oom() -> ! {
167 | |     #[cfg(feature = "KernelPrinting")]
168 | |     {
169 | |         use core::fmt::Write;
...   |
177 | |     }
178 | | }
    | |_^

error: aborting due to previous error

error: Could not compile `foo`.

Caused by:
  process didn't exit successfully: `rustc --crate-name root_task src/bin/root-task.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=38ef4692435c8239 -C extra-filename=-38ef4692435c8239 --out-dir /tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps --target armv7-sel4-fel4 -C incremental=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/incremental -L dependency=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps -L dependency=/tmp/.tmp9LBIbj/armv7/target/debug/deps --extern foo=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps/libfoo-42e0c0cade62e81a.rlib --extern sel4_sys=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/deps/libsel4_sys-9c0ac78615977704.rlib --cfg 'feature="BuildWithCommonSimulationSettings"' --cfg 'feature="ElfloaderErrata764369"' --cfg 'feature="KernelAArch32FPUEnableContextSwitch"' --cfg 'feature="KernelColourPrinting"' --cfg 'feature="KernelDebugBuild"' --cfg 'feature="KernelFastpath"' --cfg 'feature="KernelPrinting"' --sysroot /home/x/.xargo -L native=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out -L native=/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug/build/libsel4-sys-b7a1b580aead2bea/out/build/libsel4` (exit code: 1)
test cargo_fel4_arm_build_works_on_new_project ... FAILED
error: couldn't get current working directory
info: caused by: No such file or directory (os error 2)
test cargo_fel4_x86_64_build_works_on_new_project ... FAILED

failures:

---- cargo_fel4_arm_build_works_on_new_project stdout ----
error: attempted to set a logger after the logging system was already initialized
info: running: "cargo" "new" "--verbose" "--name" "foo" "--lib" "/tmp/.tmp9LBIbj/armv7"
info: 
target build cache: "/tmp/.tmp9LBIbj/armv7/target/armv7-sel4-fel4/debug"
info: running: "xargo" "rustc" "--bin" "root-task" "--manifest-path" "/tmp/.tmp9LBIbj/armv7/Cargo.toml" "--verbose" "--target" "armv7-sel4-fel4"
thread 'cargo_fel4_arm_build_works_on_new_project' panicked at 'could not run fel4 build command: ExitStatusError("command status returned: exit code: 101")', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

---- cargo_fel4_x86_64_build_works_on_new_project stdout ----
error: attempted to set a logger after the logging system was already initialized
info: running: "cargo" "new" "--verbose" "--name" "foo" "--lib" "/tmp/.tmpqbK0a4/bar"
thread 'cargo_fel4_x86_64_build_works_on_new_project' panicked at 'could not run fel4 new command: ExitStatusError("command status returned: exit code: 1")', libcore/result.rs:945:5


failures:
    cargo_fel4_arm_build_works_on_new_project
    cargo_fel4_x86_64_build_works_on_new_project

test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--test basic_integration'

@jonlamb-gh
Copy link

Hi @ingenieroariel, I have a fix on my fork if it's helpful. The tests are still failing but it'll build and simulate.
https://github.com/jonlamb-gh/cargo-fel4/pull/3/files

@ingenieroariel
Copy link
Author

Thanks @jonlamb-gh I can confirm it works, I will try to deploy on my TX2 tonight. Would love to chat more about how to go from here to an open source can bus parser on rust+sel4, email is on my profile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants