[INFO] cloning repository https://github.com/roblabla/test-xargo-217 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roblabla/test-xargo-217" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Ftest-xargo-217", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Ftest-xargo-217'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1c25b7ea7b829c66e11cbeba412b1d206d5e613 [INFO] checking roblabla/test-xargo-217 against master#c1feb3eceef7d5f0126c309a87062cf413fe0a25 for pr-121053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Ftest-xargo-217" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roblabla/test-xargo-217 on toolchain c1feb3eceef7d5f0126c309a87062cf413fe0a25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/roblabla/test-xargo-217 [INFO] finished tweaking git repo https://github.com/roblabla/test-xargo-217 [INFO] tweaked toml for git repo https://github.com/roblabla/test-xargo-217 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/roblabla/test-xargo-217 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" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking roblabla/test-xargo-217 against try#0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5 for pr-121053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Ftest-xargo-217" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roblabla/test-xargo-217 on toolchain 0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/roblabla/test-xargo-217 [INFO] finished tweaking git repo https://github.com/roblabla/test-xargo-217 [INFO] tweaked toml for git repo https://github.com/roblabla/test-xargo-217 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/roblabla/test-xargo-217 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" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8936c8f058866455a2d4312600a80514cb19b4ad6fae7eb13220d998855b8d7 [INFO] running `Command { std: "docker" "start" "-a" "c8936c8f058866455a2d4312600a80514cb19b4ad6fae7eb13220d998855b8d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8936c8f058866455a2d4312600a80514cb19b4ad6fae7eb13220d998855b8d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8936c8f058866455a2d4312600a80514cb19b4ad6fae7eb13220d998855b8d7", kill_on_drop: false }` [INFO] [stdout] c8936c8f058866455a2d4312600a80514cb19b4ad6fae7eb13220d998855b8d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 831f3b2826f95b4a80f48241dfd0e730975a793981c3f5142b1b0a60cd5e1569 [INFO] running `Command { std: "docker" "start" "-a" "831f3b2826f95b4a80f48241dfd0e730975a793981c3f5142b1b0a60cd5e1569", kill_on_drop: false }` [INFO] [stderr] Checking hello_world v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, alloc_error_handler, link_args)] [INFO] [stdout] | ^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of using `-C link-arg=ARG` on command line, which is available from cargo build scripts with `cargo:rustc-link-arg` now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, alloc_error_handler, link_args)] [INFO] [stdout] | ^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of using `-C link-arg=ARG` on command line, which is available from cargo build scripts with `cargo:rustc-link-arg` now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `link_args` in this scope [INFO] [stdout] --> src/main.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | #![link_args="-nostdlib"] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `linkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, alloc_error_handler, link_args)] [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] error[E0718]: `start` lang item must be applied to a function with 1 generic argument [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[lang = "start"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | fn start(rmain: fn(), _argc: isize, _argv: *const *const u8) -> isize { [INFO] [stdout] | - this function has 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `link_args` in this scope [INFO] [stdout] --> src/main.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | #![link_args="-nostdlib"] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `linkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, alloc_error_handler, link_args)] [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] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/main.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | #[lang = "eh_personality"] #[no_mangle] pub extern 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/0d3c0c4551bd9d6b6a4bd51e251b596e0195adf5/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9579298f7adeed43.rlib [INFO] [stdout] = note: second definition in the local crate (`hello_world`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `#[panic_handler]` function has wrong type [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern fn panic_fmt(p: &core::panic::PanicInfo<'_>) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected "Rust" fn, found "C" fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `for<'a, 'b> fn(&'a PanicInfo<'b>) -> _` [INFO] [stdout] found signature `extern "C" for<'a, 'b> fn(&'a PanicInfo<'b>) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/main.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn alloc(&self, layout: alloc::alloc::Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/main.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe fn dealloc(&self, ptr: *mut u8, layout: alloc::alloc::Layout) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/main.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe fn dealloc(&self, ptr: *mut u8, layout: alloc::alloc::Layout) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0557, E0718. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_world` (bin "hello_world" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hello_world` (bin "hello_world") due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "831f3b2826f95b4a80f48241dfd0e730975a793981c3f5142b1b0a60cd5e1569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "831f3b2826f95b4a80f48241dfd0e730975a793981c3f5142b1b0a60cd5e1569", kill_on_drop: false }` [INFO] [stdout] 831f3b2826f95b4a80f48241dfd0e730975a793981c3f5142b1b0a60cd5e1569