[INFO] fetching crate esp32c-rt 0.1.1... [INFO] building esp32c-rt-0.1.1 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate esp32c-rt 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking crates.io crate esp32c-rt 0.1.1 [INFO] finished tweaking crates.io crate esp32c-rt 0.1.1 [INFO] tweaked toml for crates.io crate esp32c-rt 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate esp32c-rt 0.1.1 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] crate crates.io crate esp32c-rt 0.1.1 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 86bf0c7e02f1f0bfc4d6e0e2f418ed5610cdec99ab0189e4f428736dd471875b [INFO] running `Command { std: "docker" "start" "-a" "86bf0c7e02f1f0bfc4d6e0e2f418ed5610cdec99ab0189e4f428736dd471875b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86bf0c7e02f1f0bfc4d6e0e2f418ed5610cdec99ab0189e4f428736dd471875b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86bf0c7e02f1f0bfc4d6e0e2f418ed5610cdec99ab0189e4f428736dd471875b", kill_on_drop: false }` [INFO] [stdout] 86bf0c7e02f1f0bfc4d6e0e2f418ed5610cdec99ab0189e4f428736dd471875b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 11c1721809abbfa3a576a252549289bc616b9531ae103d2c2d2192cf81a2c4cd [INFO] running `Command { std: "docker" "start" "-a" "11c1721809abbfa3a576a252549289bc616b9531ae103d2c2d2192cf81a2c4cd", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling r0 v1.0.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.7.0 [INFO] [stderr] Compiling esp32c-rt v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&mut _sbss, &mut _ebss); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&raw mut _sbss, &mut _ebss); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:350:34 [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&mut _sbss, &mut _ebss); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&mut _sbss, &raw mut _ebss); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:351:23 [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&raw mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&mut _sdata, &raw mut _edata, &_sidata); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.28s [INFO] running `Command { std: "docker" "inspect" "11c1721809abbfa3a576a252549289bc616b9531ae103d2c2d2192cf81a2c4cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c1721809abbfa3a576a252549289bc616b9531ae103d2c2d2192cf81a2c4cd", kill_on_drop: false }` [INFO] [stdout] 11c1721809abbfa3a576a252549289bc616b9531ae103d2c2d2192cf81a2c4cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 70297fae7cc7b0bf1985b4ede9a123b29c1c2ce48bf359390cd2b7483c53f7c3 [INFO] running `Command { std: "docker" "start" "-a" "70297fae7cc7b0bf1985b4ede9a123b29c1c2ce48bf359390cd2b7483c53f7c3", kill_on_drop: false }` [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&mut _sbss, &mut _ebss); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&raw mut _sbss, &mut _ebss); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:350:34 [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&mut _sbss, &mut _ebss); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&mut _sbss, &raw mut _ebss); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:351:23 [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&raw mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&mut _sdata, &raw mut _edata, &_sidata); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling esp32c-rt v0.1.1 (/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" "DefaultExceptionHandler" "--export" "DefaultInterruptHandler" "--export" "__INTERRUPTS" "--export" "_start_rust" "--export" "_start_trap_rust" "--export" "default_mp_hook" "--export" "default_pre_init" "--export" "error: riscv-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/{libpanic_halt-61ee96f2a3d9bb25,libesp32c_rt-b1a29ac28138fa1e,libriscv-82f44e92fd5d0a1a,libbit_field-e7aa134b0c367fec,libbare_metal-4169869dd9219f4d,libr0-83902cdf1f9faaf3}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/esp32c-rt-31028b89878bddb7/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/examples/empty-b501e79efedd82d1.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/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: _mp_hook [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: __pre_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: _sbss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: _ebss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: _sdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: _edata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: _sidata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: _setup_interrupts [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: ExceptionHandler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: DefaultHandler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: DefaultHandler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: UserSoft [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: SupervisorSoft [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: MachineSoft [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: UserTimer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libesp32c_rt-b1a29ac28138fa1e.rlib(esp32c_rt-b1a29ac28138fa1e.esp32c_rt.4630a143bd7fb6e1-cgu.0.rcgu.o): undefined symbol: SupervisorTimer [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 `esp32c-rt` (example "empty") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&mut _sbss, &mut _ebss); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&raw mut _sbss, &mut _ebss); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:350:34 [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&mut _sbss, &mut _ebss); [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 350 | r0::zero_bss(&mut _sbss, &raw mut _ebss); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:351:23 [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&raw mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 351 | r0::init_data(&mut _sdata, &raw mut _edata, &_sidata); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "DefaultExceptionHandler" "--export" "DefaultInterruptHandler" "--export" "__INTERRUPTS" "--export" "__main_void" "--export" "_start_rust" "--export" "_start_trap_rust" "--export" "default_mp_hook" "--export" "default_pre_init" "--export" "error: riscv-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" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,libtest-*,libgetopts-*,librustc_std_workspace_std-*,libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libriscv-82f44e92fd5d0a1a,libbit_field-e7aa134b0c367fec,libbare_metal-4169869dd9219f4d,libr0-83902cdf1f9faaf3}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/esp32c-rt-31028b89878bddb7/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.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/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _mp_hook [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: __pre_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _sbss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _ebss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _sbss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _ebss [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _sdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _edata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _sidata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _sdata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _edata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _sidata [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: _setup_interrupts [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: main [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: DefaultHandler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: DefaultHandler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: ExceptionHandler [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: UserSoft [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: SupervisorSoft [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/esp32c_rt-8feb0c03c705e5e1.esp32c_rt.5caa7e8ee59bbc10-cgu.0.rcgu.o: undefined symbol: MachineSoft [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 `esp32c-rt` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70297fae7cc7b0bf1985b4ede9a123b29c1c2ce48bf359390cd2b7483c53f7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70297fae7cc7b0bf1985b4ede9a123b29c1c2ce48bf359390cd2b7483c53f7c3", kill_on_drop: false }` [INFO] [stdout] 70297fae7cc7b0bf1985b4ede9a123b29c1c2ce48bf359390cd2b7483c53f7c3