[INFO] fetching crate ndless-handler 0.3.0... [INFO] checking ndless-handler-0.3.0 against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] extracting crate ndless-handler 0.3.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate ndless-handler 0.3.0 on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ndless-handler 0.3.0 [INFO] finished tweaking crates.io crate ndless-handler 0.3.0 [INFO] tweaked toml for crates.io crate ndless-handler 0.3.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 380b5a29ec876504b2765fd14f026fe9c040234ad8f93d20579b6e8a067f468e [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" "380b5a29ec876504b2765fd14f026fe9c040234ad8f93d20579b6e8a067f468e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "380b5a29ec876504b2765fd14f026fe9c040234ad8f93d20579b6e8a067f468e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380b5a29ec876504b2765fd14f026fe9c040234ad8f93d20579b6e8a067f468e", kill_on_drop: false }` [INFO] [stdout] 380b5a29ec876504b2765fd14f026fe9c040234ad8f93d20579b6e8a067f468e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de4c49b0970e00906a8964862ae4dda803285e887962b91a081973215e9b313d [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" "de4c49b0970e00906a8964862ae4dda803285e887962b91a081973215e9b313d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cty v0.2.1 [INFO] [stderr] Compiling cty v0.1.5 [INFO] [stderr] Checking ndless-sys v0.2.0 [INFO] [stderr] Checking cstr_core v0.1.2 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling ndless-static-vars v2.1.0 [INFO] [stderr] Checking embedded-ffi v0.1.2 [INFO] [stderr] Compiling ndless-macros v0.4.0 [INFO] [stderr] Checking ndless v0.8.7 [INFO] [stderr] Checking ndless-handler v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern "C" fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stdout] = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/195ad4830e11a544391abe296b146450dea8411b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-787faa8b02fbd963.rlib [INFO] [stdout] = note: second definition in the local crate (`ndless_handler`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `start` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / fn lang_start( [INFO] [stdout] 22 | | main: fn() -> T, [INFO] [stdout] 23 | | argc: isize, [INFO] [stdout] 24 | | argv: *const *const u8, [INFO] [stdout] 25 | | ) -> isize { [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/195ad4830e11a544391abe296b146450dea8411b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in the local crate (`ndless_handler`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | fn on_oom(_layout: core::alloc::Layout) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/195ad4830e11a544391abe296b146450dea8411b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in the local crate (`ndless_handler`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/195ad4830e11a544391abe296b146450dea8411b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in the local crate (`ndless_handler`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ndless-handler` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de4c49b0970e00906a8964862ae4dda803285e887962b91a081973215e9b313d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de4c49b0970e00906a8964862ae4dda803285e887962b91a081973215e9b313d", kill_on_drop: false }` [INFO] [stdout] de4c49b0970e00906a8964862ae4dda803285e887962b91a081973215e9b313d