[INFO] cloning repository https://github.com/ashleygwilliams/x86-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashleygwilliams/x86-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashleygwilliams%2Fx86-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashleygwilliams%2Fx86-kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4f53e367f637a919efd945bcd20920c98d3ad43 [INFO] checking ashleygwilliams/x86-kernel against 5f93549e108157f071a34f220b74b25690496aa1 for pr-162986 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashleygwilliams%2Fx86-kernel" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ashleygwilliams/x86-kernel [INFO] finished tweaking git repo https://github.com/ashleygwilliams/x86-kernel [INFO] tweaked toml for git repo https://github.com/ashleygwilliams/x86-kernel written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ashleygwilliams/x86-kernel on toolchain 5f93549e108157f071a34f220b74b25690496aa1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ashleygwilliams/x86-kernel 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" "+5f93549e108157f071a34f220b74b25690496aa1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `my_os` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 45b177bebe0da1bc916a431507f5fc0b811662782f345523f57eec57fa896149 [INFO] running `Command { std: "docker" "start" "45b177bebe0da1bc916a431507f5fc0b811662782f345523f57eec57fa896149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45b177bebe0da1bc916a431507f5fc0b811662782f345523f57eec57fa896149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "45b177bebe0da1bc916a431507f5fc0b811662782f345523f57eec57fa896149" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45b177bebe0da1bc916a431507f5fc0b811662782f345523f57eec57fa896149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "45b177bebe0da1bc916a431507f5fc0b811662782f345523f57eec57fa896149" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `my_os` (manifest) generated 1 warning [INFO] [stderr] Checking rlibc v0.1.4 [INFO] [stderr] Checking my_os v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn rust_main() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | #[lang = "eh_personality"] extern fn eh_personality() {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[lang = "panic_fmt"] extern fn panic_fmt() -> ! { loop{} } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | #[lang = "eh_personality"] 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/5f93549e108157f071a34f220b74b25690496aa1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-20a66e70cfa492f6.rmeta [INFO] [stdout] = note: second definition in the local crate (`my_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn rust_main() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | #[lang = "eh_personality"] extern fn eh_personality() {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[lang = "panic_fmt"] extern fn panic_fmt() -> ! { loop{} } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_fmt` [INFO] [stdout] --> src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[lang = "panic_fmt"] extern fn panic_fmt() -> ! { loop{} } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `my_os` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/5f93549e108157f071a34f220b74b25690496aa1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ebfe78fa709018b0.rmeta [INFO] [stdout] = note: second definition in the local crate (`my_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my_os` (lib test) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `my_os` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "45b177bebe0da1bc916a431507f5fc0b811662782f345523f57eec57fa896149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b177bebe0da1bc916a431507f5fc0b811662782f345523f57eec57fa896149", kill_on_drop: false }` [INFO] [stdout] 45b177bebe0da1bc916a431507f5fc0b811662782f345523f57eec57fa896149