[INFO] cloning repository https://github.com/cyndis/u2f-nfchidemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyndis/u2f-nfchidemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyndis%2Fu2f-nfchidemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyndis%2Fu2f-nfchidemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e61f357b2848ec70f1bdaa5c54c6d568b07a8362 [INFO] testing cyndis/u2f-nfchidemu against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyndis%2Fu2f-nfchidemu" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cyndis/u2f-nfchidemu on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cyndis/u2f-nfchidemu [INFO] finished tweaking git repo https://github.com/cyndis/u2f-nfchidemu [INFO] tweaked toml for git repo https://github.com/cyndis/u2f-nfchidemu written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/cyndis/u2f-nfchidemu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77f87a2cd89d4fa31fb53a07b1e0ca50553691eb9f89ef4212ffd87bd0779ffa [INFO] running `Command { std: "docker" "start" "-a" "77f87a2cd89d4fa31fb53a07b1e0ca50553691eb9f89ef4212ffd87bd0779ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77f87a2cd89d4fa31fb53a07b1e0ca50553691eb9f89ef4212ffd87bd0779ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77f87a2cd89d4fa31fb53a07b1e0ca50553691eb9f89ef4212ffd87bd0779ffa", kill_on_drop: false }` [INFO] [stdout] 77f87a2cd89d4fa31fb53a07b1e0ca50553691eb9f89ef4212ffd87bd0779ffa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03cccdb543b86cd540ed9000b7d1f9c1c1f0edf7db4c56cb204be318c74ab6ab [INFO] running `Command { std: "docker" "start" "-a" "03cccdb543b86cd540ed9000b7d1f9c1c1f0edf7db4c56cb204be318c74ab6ab", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nfc-sys v0.1.5 [INFO] [stderr] Compiling privdrop v0.2.1 [INFO] [stderr] Compiling u2f-nfchidemu v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:73 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn write(&mut self, event: &uhid::uhid_event) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn read(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:87:55 [INFO] [stdout] | [INFO] [stdout] 87 | fn new(uhid: &'a mut Uhid) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:104:50 [INFO] [stdout] | [INFO] [stdout] 104 | fn read(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:163:61 [INFO] [stdout] | [INFO] [stdout] 163 | fn write(&mut self, msg: &HidMessage) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.u2f_nfchidemu.7b15c7db-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290.470vqrukqwoyfp4y.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libprivdrop-3c205ace994a7599.rlib" "/opt/rustwide/target/debug/deps/libnix-79cf6b59e70486a9.rlib" "/opt/rustwide/target/debug/deps/libvoid-fc8910124e59282b.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-266d27ed6d5fe7df.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c1fd6b181e1981af.rlib" "/opt/rustwide/target/debug/deps/libnfc_sys-c9bd172fb906f741.rlib" "/opt/rustwide/target/debug/deps/liblibc-667ccfdc931af70b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9a950938f3668a37.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3b1b529ec96b3df7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-ac333df4e6839cea.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-22a9ff9d2be6d427.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5decbb94c7d60860.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-29a9663b62a1cd00.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6f0cee0dbab2d3f8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-f5dc7d1d28c5c249.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d19bda9ef557e755.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-82a955fd13db2399.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-44f3e7c1b7cc17ef.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-3ee6f750c5f3c2cf.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-ae5e1795dcba83e8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8d545d8592f2b534.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-c4c222675f83fd37.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c1e9c53e75e301ed.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-beea7d9617fe25c5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8ef7dd43fc671f88.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-80a2b295510dd038.rlib" "-Wl,-Bdynamic" "-lnfc" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-09-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-6e5fa17b955f3290" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lnfc [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `u2f-nfchidemu` due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "03cccdb543b86cd540ed9000b7d1f9c1c1f0edf7db4c56cb204be318c74ab6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03cccdb543b86cd540ed9000b7d1f9c1c1f0edf7db4c56cb204be318c74ab6ab", kill_on_drop: false }` [INFO] [stdout] 03cccdb543b86cd540ed9000b7d1f9c1c1f0edf7db4c56cb204be318c74ab6ab