[INFO] fetching crate rrt0 0.3.1... [INFO] testing rrt0-0.3.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rrt0 0.3.1 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rrt0 0.3.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3542d339cf502e765ca968310c6bdc9934725aacbe8ac1dac01413c7bf22e01 [INFO] running `Command { std: "docker" "start" "-a" "f3542d339cf502e765ca968310c6bdc9934725aacbe8ac1dac01413c7bf22e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3542d339cf502e765ca968310c6bdc9934725aacbe8ac1dac01413c7bf22e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3542d339cf502e765ca968310c6bdc9934725aacbe8ac1dac01413c7bf22e01", kill_on_drop: false }` [INFO] [stdout] f3542d339cf502e765ca968310c6bdc9934725aacbe8ac1dac01413c7bf22e01 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a4bfc688be8ab99971de33de5993c044a20ed73164934d74aa90558cd28a3c8 [INFO] running `Command { std: "docker" "start" "-a" "8a4bfc688be8ab99971de33de5993c044a20ed73164934d74aa90558cd28a3c8", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `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] 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] running `Command { std: "docker" "inspect" "8a4bfc688be8ab99971de33de5993c044a20ed73164934d74aa90558cd28a3c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4bfc688be8ab99971de33de5993c044a20ed73164934d74aa90558cd28a3c8", kill_on_drop: false }` [INFO] [stdout] 8a4bfc688be8ab99971de33de5993c044a20ed73164934d74aa90558cd28a3c8