[INFO] cloning repository https://github.com/phip1611/rust-kernel-x86_64-static-link-code-model-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phip1611/rust-kernel-x86_64-static-link-code-model-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphip1611%2Frust-kernel-x86_64-static-link-code-model-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphip1611%2Frust-kernel-x86_64-static-link-code-model-kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b666c080d6544c0214e96df4fe7e75893a3ef70 [INFO] testing phip1611/rust-kernel-x86_64-static-link-code-model-kernel against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphip1611%2Frust-kernel-x86_64-static-link-code-model-kernel" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/phip1611/rust-kernel-x86_64-static-link-code-model-kernel [INFO] finished tweaking git repo https://github.com/phip1611/rust-kernel-x86_64-static-link-code-model-kernel [INFO] tweaked toml for git repo https://github.com/phip1611/rust-kernel-x86_64-static-link-code-model-kernel written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phip1611/rust-kernel-x86_64-static-link-code-model-kernel on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phip1611/rust-kernel-x86_64-static-link-code-model-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x86 v0.51.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a20e609e5ec6e70c1b1f17c04a5b9144d944f38ec39e6d3bf97422ca0723d10 [INFO] running `Command { std: "docker" "start" "-a" "3a20e609e5ec6e70c1b1f17c04a5b9144d944f38ec39e6d3bf97422ca0723d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a20e609e5ec6e70c1b1f17c04a5b9144d944f38ec39e6d3bf97422ca0723d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a20e609e5ec6e70c1b1f17c04a5b9144d944f38ec39e6d3bf97422ca0723d10", kill_on_drop: false }` [INFO] [stdout] 3a20e609e5ec6e70c1b1f17c04a5b9144d944f38ec39e6d3bf97422ca0723d10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aada6b798737972a1242a82cc75207e83058243df2407c4062bcc3bb30881e05 [INFO] running `Command { std: "docker" "start" "-a" "aada6b798737972a1242a82cc75207e83058243df2407c4062bcc3bb30881e05", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling x86 v0.51.0 [INFO] [stderr] Compiling kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling raw-cpuid v10.5.0 [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustczPX7yc/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustczPX7yc/raw-dylibs" "-Wl,-Bdynamic" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/kernel-f7916c79590bafea" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: main [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __libc_start_main [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "aada6b798737972a1242a82cc75207e83058243df2407c4062bcc3bb30881e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aada6b798737972a1242a82cc75207e83058243df2407c4062bcc3bb30881e05", kill_on_drop: false }` [INFO] [stdout] aada6b798737972a1242a82cc75207e83058243df2407c4062bcc3bb30881e05