[INFO] fetching crate drone-core 0.14.0... [INFO] checking drone-core-0.14.0 against master#a836d9b6413d9d593be6c09463ff8c4c70e56599 for pr-84037 [INFO] extracting crate drone-core 0.14.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate drone-core 0.14.0 on toolchain a836d9b6413d9d593be6c09463ff8c4c70e56599 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/rust-toolchain [INFO] started tweaking crates.io crate drone-core 0.14.0 [INFO] finished tweaking crates.io crate drone-core 0.14.0 [INFO] tweaked toml for crates.io crate drone-core 0.14.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded drone-ctypes v0.14.0 [INFO] [stderr] Downloaded drone-core-macros v0.14.0 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1bc4a546fd42bff5ab6db142e72a912be77908df9ad3241020f318a134c32ce [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" "f1bc4a546fd42bff5ab6db142e72a912be77908df9ad3241020f318a134c32ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1bc4a546fd42bff5ab6db142e72a912be77908df9ad3241020f318a134c32ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1bc4a546fd42bff5ab6db142e72a912be77908df9ad3241020f318a134c32ce", kill_on_drop: false }` [INFO] [stdout] f1bc4a546fd42bff5ab6db142e72a912be77908df9ad3241020f318a134c32ce [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=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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8337766c283415f23fc137b4c62bc53bd252571914387de765662bc94dc33ba2 [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" "8337766c283415f23fc137b4c62bc53bd252571914387de765662bc94dc33ba2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking drone-ctypes v0.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling drone-macros-core v0.14.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling drone-config v0.14.0 [INFO] [stderr] Compiling drone-core-macros v0.14.0 [INFO] [stderr] Checking drone-core v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/ffi/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/ffi/mod.rs:94:76 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(CStr::from_ptr(ptr).to_string_lossy(), Owned::(format!("123\u{FFFD}"))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/ffi/mod.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(format!("{:?}", s), r#""abc\x01\x02\n\xe2\x80\xa6\xff""#); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/ffi/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | let s = CString::from_vec_unchecked(vec![0]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/ffi/mod.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | assert!(CString::new(vec![0]).is_err()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefaultHasher` [INFO] [stdout] --> src/ffi/mod.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let mut s = DefaultHasher::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DefaultHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefaultHasher` [INFO] [stdout] --> src/ffi/mod.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let mut s = DefaultHasher::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DefaultHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lang_items.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | fn begin_panic(pi: &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/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in the local crate (`drone_core`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> src/lang_items.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | fn oom(layout: 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/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in the local crate (`drone_core`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/ffi/mod.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | use core::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drone-core` [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] [stdout] error: duplicate lang item in crate `drone_core` (which `threads` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `threads` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `threads` depends on): `oom`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `threads` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `soft_threads` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `soft_threads` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `soft_threads` depends on): `oom`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `soft_threads` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `heap` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `heap` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `heap` depends on): `oom`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `heap` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `future` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `future` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `future` depends on): `oom`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `future` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `periph` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `periph` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `periph` depends on): `oom`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `periph` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `bitfield` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `bitfield` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `bitfield` depends on): `oom`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `bitfield` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `reg` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `reg` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `drone_core` (which `reg` depends on): `oom`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `reg` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a836d9b6413d9d593be6c09463ff8c4c70e56599/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a3fbe4efc9c1ff06.rlib [INFO] [stdout] = note: second definition in `drone_core` loaded from /opt/rustwide/target/debug/deps/libdrone_core-0e2710ab10430649.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8337766c283415f23fc137b4c62bc53bd252571914387de765662bc94dc33ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8337766c283415f23fc137b4c62bc53bd252571914387de765662bc94dc33ba2", kill_on_drop: false }` [INFO] [stdout] 8337766c283415f23fc137b4c62bc53bd252571914387de765662bc94dc33ba2