[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyndis%2Fu2f-nfchidemu" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cyndis/u2f-nfchidemu on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-7/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded privdrop v0.2.1 [INFO] [stderr] Downloaded nfc-sys v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6869adff1ffd193d78962ee556370c277becb695a0ca1c7502e1d132575f61a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b6869adff1ffd193d78962ee556370c277becb695a0ca1c7502e1d132575f61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6869adff1ffd193d78962ee556370c277becb695a0ca1c7502e1d132575f61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6869adff1ffd193d78962ee556370c277becb695a0ca1c7502e1d132575f61a", kill_on_drop: false }` [INFO] [stdout] b6869adff1ffd193d78962ee556370c277becb695a0ca1c7502e1d132575f61a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d8b8dab37c7cd133d124d9f3b5cc9458a3e67dfc85c0721dcb3ff55d12eb2c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4d8b8dab37c7cd133d124d9f3b5cc9458a3e67dfc85c0721dcb3ff55d12eb2c4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling nix v0.11.0 [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:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 221 - fn main() -> Result<(), Box> { [INFO] [stdout] 221 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub fn new() -> Result> { [INFO] [stdout] 18 + pub fn new() -> Result> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn write(&mut self, event: &uhid::uhid_event) -> Result<(), Box> { [INFO] [stdout] 27 + pub fn write(&mut self, event: &uhid::uhid_event) -> Result<(), Box> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn read(&mut self) -> Result> { [INFO] [stdout] 38 + pub fn read(&mut self) -> Result> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn new(uhid: &'a mut Uhid) -> Result, Box> { [INFO] [stdout] 87 + fn new(uhid: &'a mut Uhid) -> Result, Box> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - fn read(&mut self) -> Result> { [INFO] [stdout] 104 + fn read(&mut self) -> Result> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - fn write(&mut self, msg: &HidMessage) -> Result<(), Box> { [INFO] [stdout] 163 + fn write(&mut self, msg: &HidMessage) -> Result<(), Box> { [INFO] [stdout] | [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-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.u2f_nfchidemu.ec5a6fa8-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb.3g9b37w6ji5774vv.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libprivdrop-75737964571bea98.rlib" "/opt/rustwide/target/debug/deps/libnix-c1937f5c38e9f2f5.rlib" "/opt/rustwide/target/debug/deps/libvoid-daee20f73a082eaf.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-ba39efabcb0a90d1.rlib" "/opt/rustwide/target/debug/deps/libbitflags-0987f7eb4066015f.rlib" "/opt/rustwide/target/debug/deps/libnfc_sys-8887950c6f9b0088.rlib" "/opt/rustwide/target/debug/deps/liblibc-f9679af5ff745e7e.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.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/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/u2f_nfchidemu-4042700fdccde8bb" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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" "4d8b8dab37c7cd133d124d9f3b5cc9458a3e67dfc85c0721dcb3ff55d12eb2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d8b8dab37c7cd133d124d9f3b5cc9458a3e67dfc85c0721dcb3ff55d12eb2c4", kill_on_drop: false }` [INFO] [stdout] 4d8b8dab37c7cd133d124d9f3b5cc9458a3e67dfc85c0721dcb3ff55d12eb2c4