[INFO] fetching crate cortex-m-systick-countdown 0.1.0... [INFO] building cortex-m-systick-countdown-0.1.0 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate cortex-m-systick-countdown 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking crates.io crate cortex-m-systick-countdown 0.1.0 [INFO] finished tweaking crates.io crate cortex-m-systick-countdown 0.1.0 [INFO] tweaked toml for crates.io crate cortex-m-systick-countdown 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cortex-m-systick-countdown 0.1.0 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding cortex-m v0.6.7 (available: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (available: v0.7.5) [INFO] [stderr] Adding cortex-m-semihosting v0.3.7 (available: v0.5.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding panic-halt v0.2.0 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a8342a0ad32e647dfc19464770601bf93a0f9555e2eab558a1d1d667ebb724d [INFO] running `Command { std: "docker" "start" "-a" "7a8342a0ad32e647dfc19464770601bf93a0f9555e2eab558a1d1d667ebb724d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a8342a0ad32e647dfc19464770601bf93a0f9555e2eab558a1d1d667ebb724d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a8342a0ad32e647dfc19464770601bf93a0f9555e2eab558a1d1d667ebb724d", kill_on_drop: false }` [INFO] [stdout] 7a8342a0ad32e647dfc19464770601bf93a0f9555e2eab558a1d1d667ebb724d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] c93815eaa4ee3a43422e375401440766f0ed4405c2074182e0482446fe3c08e4 [INFO] running `Command { std: "docker" "start" "-a" "c93815eaa4ee3a43422e375401440766f0ed4405c2074182e0482446fe3c08e4", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-systick-countdown v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.5 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.62s [INFO] running `Command { std: "docker" "inspect" "c93815eaa4ee3a43422e375401440766f0ed4405c2074182e0482446fe3c08e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93815eaa4ee3a43422e375401440766f0ed4405c2074182e0482446fe3c08e4", kill_on_drop: false }` [INFO] [stdout] c93815eaa4ee3a43422e375401440766f0ed4405c2074182e0482446fe3c08e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 1b694102ab12fd26954b184312371c0a39c1a09ff3caca7876e0874d9e7a2b51 [INFO] running `Command { std: "docker" "start" "-a" "1b694102ab12fd26954b184312371c0a39c1a09ff3caca7876e0874d9e7a2b51", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling cortex-m-systick-countdown v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "main" "--export" "CORE_PERIPHERALS" "--export" "DefaultHandler_" "--export" "DefaultPreInit" "--export" "HardFault_" "--export" "Reset" "--export" "__EXCEPTIONS" "--export" "__INTERRUPTS" "--export" "__RESET_VECTOR" "--export" "error: cortex-m-rt appears more than once in the dependency graph" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<1 object files omitted>" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcortex_m_semihosting-e90cbd6e8fa19808,libcortex_m_rt-f5482198f51912ec,libr0-bd7eebdb4334dec2,libcortex_m_systick_countdown-667862db7ce9c945,libcortex_m-19de19eecc285c4e,libcortex_m-9c220dca2911c628,libembedded_hal-9b4adc206c2e0ec6,libvoid-6b3fa066fea5aaeb,libnb-fdadb552829c0252,libnb-1ca80efc6980905f,libvolatile_register-e6d7487b196b8ff0,libvcell-18ca50b8176a4901,libbare_metal-2ed47aa81805c406,libaligned-9d62a7f2b9aeba3d,libas_slice-7e8d74bddaac62a8,libstable_deref_trait-6539a6fb24da91f5,libgeneric_array-11d6ba11f8e00839,libgeneric_array-134541c1626c37e2,libgeneric_array-b965bc48b912add2,libtypenum-4ac17e86544286c1,libpanic_halt-61ee96f2a3d9bb25}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/cortex-m-systick-countdown-4cd030b0c9add159/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/cortex-m-rt-7c3f6f3945589703/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/examples/qemu-5a6d4ca62669ce93.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o: undefined symbol: __wasi_init_tp [INFO] [stdout] rust-lld: error: /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o: undefined symbol: __main_void [INFO] [stdout] rust-lld: error: /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o: undefined symbol: __wasm_call_dtors [INFO] [stdout] rust-lld: error: /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o: undefined symbol: __wasi_proc_exit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/examples/qemu-5a6d4ca62669ce93.qemu.e53247834fdfc9f4-cgu.0.rcgu.o: undefined symbol: __primask_r [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/examples/qemu-5a6d4ca62669ce93.qemu.e53247834fdfc9f4-cgu.0.rcgu.o: undefined symbol: __cpsid [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/examples/qemu-5a6d4ca62669ce93.qemu.e53247834fdfc9f4-cgu.0.rcgu.o: undefined symbol: __cpsie [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_semihosting-e90cbd6e8fa19808.rlib(cortex_m_semihosting-e90cbd6e8fa19808.cortex_m_semihosting.40381c34df0b4cf6-cgu.0.rcgu.o): undefined symbol: __primask_r [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_semihosting-e90cbd6e8fa19808.rlib(cortex_m_semihosting-e90cbd6e8fa19808.cortex_m_semihosting.40381c34df0b4cf6-cgu.0.rcgu.o): undefined symbol: __cpsid [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_semihosting-e90cbd6e8fa19808.rlib(cortex_m_semihosting-e90cbd6e8fa19808.cortex_m_semihosting.40381c34df0b4cf6-cgu.0.rcgu.o): undefined symbol: __cpsie [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_systick_countdown-667862db7ce9c945.rlib(cortex_m_systick_countdown-667862db7ce9c945.cortex_m_systick_countdown.efbeb7c2b5adbd10-cgu.0.rcgu.o): undefined symbol: __primask_r [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_systick_countdown-667862db7ce9c945.rlib(cortex_m_systick_countdown-667862db7ce9c945.cortex_m_systick_countdown.efbeb7c2b5adbd10-cgu.0.rcgu.o): undefined symbol: __cpsid [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_systick_countdown-667862db7ce9c945.rlib(cortex_m_systick_countdown-667862db7ce9c945.cortex_m_systick_countdown.efbeb7c2b5adbd10-cgu.0.rcgu.o): undefined symbol: __cpsie [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_rt-f5482198f51912ec.rlib(cortex_m_rt-f5482198f51912ec.cortex_m_rt.af5d9a1cc2f8e898-cgu.0.rcgu.o): undefined symbol: __pre_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_rt-f5482198f51912ec.rlib(cortex_m_rt-f5482198f51912ec.cortex_m_rt.af5d9a1cc2f8e898-cgu.0.rcgu.o): undefined symbol: __sbss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_rt-f5482198f51912ec.rlib(cortex_m_rt-f5482198f51912ec.cortex_m_rt.af5d9a1cc2f8e898-cgu.0.rcgu.o): undefined symbol: __ebss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_rt-f5482198f51912ec.rlib(cortex_m_rt-f5482198f51912ec.cortex_m_rt.af5d9a1cc2f8e898-cgu.0.rcgu.o): undefined symbol: __sdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_rt-f5482198f51912ec.rlib(cortex_m_rt-f5482198f51912ec.cortex_m_rt.af5d9a1cc2f8e898-cgu.0.rcgu.o): undefined symbol: __edata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_rt-f5482198f51912ec.rlib(cortex_m_rt-f5482198f51912ec.cortex_m_rt.af5d9a1cc2f8e898-cgu.0.rcgu.o): undefined symbol: __sidata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcortex_m_rt-f5482198f51912ec.rlib(cortex_m_rt-f5482198f51912ec.cortex_m_rt.af5d9a1cc2f8e898-cgu.0.rcgu.o): undefined symbol: NonMaskableInt [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-systick-countdown` (example "qemu") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1b694102ab12fd26954b184312371c0a39c1a09ff3caca7876e0874d9e7a2b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b694102ab12fd26954b184312371c0a39c1a09ff3caca7876e0874d9e7a2b51", kill_on_drop: false }` [INFO] [stdout] 1b694102ab12fd26954b184312371c0a39c1a09ff3caca7876e0874d9e7a2b51