[INFO] cloning repository https://github.com/isubasinghe/rust_copier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/isubasinghe/rust_copier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisubasinghe%2Frust_copier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisubasinghe%2Frust_copier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 867c4ddd6364af3d5095cd8b674aeab073f4b7e0 [INFO] checking isubasinghe/rust_copier against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisubasinghe%2Frust_copier" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/isubasinghe/rust_copier on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/isubasinghe/rust_copier [INFO] finished tweaking git repo https://github.com/isubasinghe/rust_copier [INFO] tweaked toml for git repo https://github.com/isubasinghe/rust_copier written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/isubasinghe/rust_copier already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c585c2686626cae83dd4ad7238573d9a86bbc6fa039423086e889a62774c9b4 [INFO] running `Command { std: "docker" "start" "-a" "0c585c2686626cae83dd4ad7238573d9a86bbc6fa039423086e889a62774c9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c585c2686626cae83dd4ad7238573d9a86bbc6fa039423086e889a62774c9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c585c2686626cae83dd4ad7238573d9a86bbc6fa039423086e889a62774c9b4", kill_on_drop: false }` [INFO] [stdout] 0c585c2686626cae83dd4ad7238573d9a86bbc6fa039423086e889a62774c9b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e6ae462d4c9e540c0ff18cfcb767a6ff31091132a93c628576d52cdffbde53f [INFO] running `Command { std: "docker" "start" "-a" "9e6ae462d4c9e540c0ff18cfcb767a6ff31091132a93c628576d52cdffbde53f", kill_on_drop: false }` [INFO] [stderr] Checking mukernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `init` is defined multiple times [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn init() { [INFO] [stdout] | ------------- previous definition of the value `init` here [INFO] [stdout] ... [INFO] [stdout] 34 | pub extern "C" fn init() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `init` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `init` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `init` is defined multiple times [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn init() { [INFO] [stdout] | ------------- previous definition of the value `init` here [INFO] [stdout] ... [INFO] [stdout] 34 | pub extern "C" fn init() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `init` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `init` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(panic_info_message, lang_items, fn_align, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(panic_info_message, lang_items, fn_align, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/lib.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(p) = info.location() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(panic_info_message, lang_items, fn_align, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(panic_info_message, lang_items, fn_align, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/lib.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | pub extern "C" fn notified(idx: core::ffi::c_uint) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" fn eh_personality() {} [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] = note: second definition in the local crate (`mukernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mukernel` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mukernel` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e6ae462d4c9e540c0ff18cfcb767a6ff31091132a93c628576d52cdffbde53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e6ae462d4c9e540c0ff18cfcb767a6ff31091132a93c628576d52cdffbde53f", kill_on_drop: false }` [INFO] [stdout] 9e6ae462d4c9e540c0ff18cfcb767a6ff31091132a93c628576d52cdffbde53f