[INFO] fetching crate rrt0 0.3.1... [INFO] checking rrt0-0.3.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rrt0 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate rrt0 0.3.1 [INFO] finished tweaking crates.io crate rrt0 0.3.1 [INFO] tweaked toml for crates.io crate rrt0 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rrt0 0.3.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fd207e4d7ecd42447cb14876fe6f626a51e44bcd40c6160d798373b4bb326b1 [INFO] running `Command { std: "docker" "start" "-a" "2fd207e4d7ecd42447cb14876fe6f626a51e44bcd40c6160d798373b4bb326b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fd207e4d7ecd42447cb14876fe6f626a51e44bcd40c6160d798373b4bb326b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd207e4d7ecd42447cb14876fe6f626a51e44bcd40c6160d798373b4bb326b1", kill_on_drop: false }` [INFO] [stdout] 2fd207e4d7ecd42447cb14876fe6f626a51e44bcd40c6160d798373b4bb326b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a54ff06bc81de975cd2b92ea7f9912cdc1a60e99e630864d7b6cb1ac780bcb9 [INFO] running `Command { std: "docker" "start" "-a" "6a54ff06bc81de975cd2b92ea7f9912cdc1a60e99e630864d7b6cb1ac780bcb9", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking rrt0 v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(lang_items)] [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:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nintendo64` [INFO] [stdout] --> src/platforms.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(any(unix, windows, target_vendor = "nintendo64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nintendo"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `openwrt`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `vex`, `win7`, and `wrs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nintendo64` [INFO] [stdout] --> src/platforms.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_vendor = "nintendo64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nintendo"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `openwrt`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `vex`, `win7`, and `wrs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(lang_items)] [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:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nintendo64` [INFO] [stdout] --> src/platforms.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(any(unix, windows, target_vendor = "nintendo64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nintendo"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `openwrt`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `vex`, `win7`, and `wrs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nintendo64` [INFO] [stdout] --> src/platforms.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_vendor = "nintendo64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nintendo"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `openwrt`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `vex`, `win7`, and `wrs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | fn panic(_info: &PanicInfo<'_>) -> ! { [INFO] [stdout] | ------------------------------------ should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_begin_unwind` to [INFO] [stdout] = note: match `.*rust_begin_unwind.*` instead of `break rust_begin_unwind` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | extern "C" fn rust_eh_personality() {} [INFO] [stdout] | ----------------------------------- should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_eh_personality` to [INFO] [stdout] = note: match `.*rust_eh_personality.*` instead of `break rust_eh_personality` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: lang item `start` function has wrong type [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / extern "C" fn start(user_main: *const (), _argc: isize, _argv: *const *const u8) -> ! [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Termination, [INFO] [stdout] | |___________________^ expected "Rust" fn, found "C" fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(fn() -> T, isize, *const *const u8, u8) -> isize` [INFO] [stdout] found signature `extern "C" fn(*const (), isize, *const *const u8) -> !` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Termination` is never used [INFO] [stdout] --> src/lib.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | trait Termination {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rrt0` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6a54ff06bc81de975cd2b92ea7f9912cdc1a60e99e630864d7b6cb1ac780bcb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a54ff06bc81de975cd2b92ea7f9912cdc1a60e99e630864d7b6cb1ac780bcb9", kill_on_drop: false }` [INFO] [stdout] 6a54ff06bc81de975cd2b92ea7f9912cdc1a60e99e630864d7b6cb1ac780bcb9