[INFO] fetching crate axplat-x86-pc 0.2.0... [INFO] testing axplat-x86-pc-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate axplat-x86-pc 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate axplat-x86-pc 0.2.0 [INFO] finished tweaking crates.io crate axplat-x86-pc 0.2.0 [INFO] tweaked toml for crates.io crate axplat-x86-pc 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axplat-x86-pc 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate axplat-x86-pc 0.2.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22faa437108e2dcbc336065f15c9aa406202749e057c8fe1f0f3e03ab2efc1e5 [INFO] running `Command { std: "docker" "start" "-a" "22faa437108e2dcbc336065f15c9aa406202749e057c8fe1f0f3e03ab2efc1e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22faa437108e2dcbc336065f15c9aa406202749e057c8fe1f0f3e03ab2efc1e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22faa437108e2dcbc336065f15c9aa406202749e057c8fe1f0f3e03ab2efc1e5", kill_on_drop: false }` [INFO] [stdout] 22faa437108e2dcbc336065f15c9aa406202749e057c8fe1f0f3e03ab2efc1e5 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ce29a0d11b7dbd2ad61fc604313e32e9c1c21478710dfa846483f2dfdf59fa2 [INFO] running `Command { std: "docker" "start" "-a" "8ce29a0d11b7dbd2ad61fc604313e32e9c1c21478710dfa846483f2dfdf59fa2", kill_on_drop: false }` [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling x86 v0.52.0 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling linkme-impl v0.3.33 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling memory_addr v0.4.0 [INFO] [stderr] Compiling percpu v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling x86_64 v0.15.2 [INFO] [stderr] Compiling heapless v0.9.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling lazyinit v0.2.2 [INFO] [stderr] Compiling const-str v0.6.4 [INFO] [stderr] Compiling axplat-x86-pc v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bit v0.1.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling multiboot v0.8.0 [INFO] [stderr] Compiling raw-cpuid v11.5.0 [INFO] [stderr] Compiling int_ratio v0.1.2 [INFO] [stderr] Compiling page_table_entry v0.5.5 [INFO] [stderr] Compiling x2apic v0.5.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling uart_16550 v0.4.0 [INFO] [stderr] Compiling crate_interface v0.1.4 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling percpu_macros v0.2.0 [INFO] [stderr] Compiling axplat-macros v0.1.0 [INFO] [stderr] Compiling kernel_guard v0.1.2 [INFO] [stderr] Compiling kspin v0.1.1 [INFO] [stderr] Compiling axplat v0.2.0 [INFO] [stderr] Compiling linkme v0.3.33 [INFO] [stderr] Compiling axcpu v0.2.2 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling axconfig-gen v0.2.0 [INFO] [stderr] Compiling axconfig-macros v0.2.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.35s [INFO] running `Command { std: "docker" "inspect" "8ce29a0d11b7dbd2ad61fc604313e32e9c1c21478710dfa846483f2dfdf59fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce29a0d11b7dbd2ad61fc604313e32e9c1c21478710dfa846483f2dfdf59fa2", kill_on_drop: false }` [INFO] [stdout] 8ce29a0d11b7dbd2ad61fc604313e32e9c1c21478710dfa846483f2dfdf59fa2 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 270f03b6f1894876a0ce47d1e0f55eb221bf8471cdf6427353cc77799a26be96 [INFO] running `Command { std: "docker" "start" "-a" "270f03b6f1894876a0ce47d1e0f55eb221bf8471cdf6427353cc77799a26be96", kill_on_drop: false }` [INFO] [stderr] Compiling axplat-x86-pc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustczgGaHp/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libaxcpu-1a2a6737af8ba79c,libpercpu-068a52ffc7377d76,libspin-a7074d2123874c66,liblock_api-0826b5028eacedf5,libscopeguard-d52bd00767847e44,libstatic_assertions-d53a9977dc6e27e5,libpage_table_entry-0cb680fa2aa70910,liblinkme-b467e5d5d596bde6}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libraw_cpuid-3eacec4110b36ff2,libmultiboot-afa93732aa4214d0,libheapless-c8727f29d86d2c17,libhash32-deabc1ee08c68959,libbyteorder-7df9ab1ae37e1368,libuart_16550-377c8a277e2633b2,libx86-513a94b84669f2a4,libx2apic-3434c08598b75b36,libx86_64-abc38a61f6b22d34,libvolatile-0f8215778742703b,libbit_field-eda3227a244109cb,libraw_cpuid-7bd567270dcb8080,libbit-3bcbc9cf2d52862b,libbitflags-e2b4db6c651223da,liblazyinit-7392d69337046dbb,libaxplat-88065cc957afa9e9,libkspin-2368f518d8a03898,libkernel_guard-b11dbe02d40e604b,libcfg_if-666d36e5ee0df220,libbitflags-df0e4efd74efe079,libconst_str-55a766c1a26248cd,libmemory_addr-b736dba6ed915edc,liblog-394b918668cad64a}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustczgGaHp/raw-dylibs" "-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/axplat_x86_pc-8b75cdc3e6e85b9d" "-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: duplicate symbol: _start [INFO] [stdout] >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] >>> defined at axplat_x86_pc.f1bf19d9cf72426-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/axplat_x86_pc-8b75cdc3e6e85b9d.axplat_x86_pc.f1bf19d9cf72426-cgu.0.rcgu.o:(.text.boot+0x0) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axplat-x86-pc` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "270f03b6f1894876a0ce47d1e0f55eb221bf8471cdf6427353cc77799a26be96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270f03b6f1894876a0ce47d1e0f55eb221bf8471cdf6427353cc77799a26be96", kill_on_drop: false }` [INFO] [stdout] 270f03b6f1894876a0ce47d1e0f55eb221bf8471cdf6427353cc77799a26be96