[INFO] cloning repository https://github.com/TakashiKusachi/embedded_rust_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TakashiKusachi/embedded_rust_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakashiKusachi%2Fembedded_rust_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakashiKusachi%2Fembedded_rust_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcdfc74c40ebc2f79239735a795b34d4a7301301 [INFO] checking TakashiKusachi/embedded_rust_test against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakashiKusachi%2Fembedded_rust_test" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TakashiKusachi/embedded_rust_test on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/TakashiKusachi/embedded_rust_test [INFO] finished tweaking git repo https://github.com/TakashiKusachi/embedded_rust_test [INFO] tweaked toml for git repo https://github.com/TakashiKusachi/embedded_rust_test written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TakashiKusachi/embedded_rust_test 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcd v2.3.0 [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded fugit v0.3.7 [INFO] [stderr] Downloaded managed v0.8.0 [INFO] [stderr] Downloaded smoltcp v0.8.2 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded stm32h7xx-hal v0.13.1 [INFO] [stderr] Downloaded cortex-m-log v0.7.0 [INFO] [stderr] Downloaded cortex-m-semihosting v0.5.0 [INFO] [stderr] Downloaded panic-semihosting v0.6.0 [INFO] [stderr] Downloaded rtt-target v0.3.1 [INFO] [stderr] Downloaded embedded-dma v0.2.0 [INFO] [stderr] Downloaded panic-itm v0.4.2 [INFO] [stderr] Downloaded panic-rtt-target v0.1.2 [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded stm32h7 v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eea843d48b26eb14cff7fd93108e178af44e41919bd0ee61cbee011a68b89046 [INFO] running `Command { std: "docker" "start" "-a" "eea843d48b26eb14cff7fd93108e178af44e41919bd0ee61cbee011a68b89046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eea843d48b26eb14cff7fd93108e178af44e41919bd0ee61cbee011a68b89046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea843d48b26eb14cff7fd93108e178af44e41919bd0ee61cbee011a68b89046", kill_on_drop: false }` [INFO] [stdout] eea843d48b26eb14cff7fd93108e178af44e41919bd0ee61cbee011a68b89046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81244eed32adf01adae90bf30d02135da50e763a59354acf93ef8083bff1391f [INFO] running `Command { std: "docker" "start" "-a" "81244eed32adf01adae90bf30d02135da50e763a59354acf93ef8083bff1391f", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling stm32h7 v0.15.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling cortex-m-log v0.7.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking managed v0.8.0 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking smoltcp v0.8.2 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking rtt-target v0.3.1 [INFO] [stderr] Checking panic-itm v0.4.2 [INFO] [stderr] Checking panic-semihosting v0.6.0 [INFO] [stderr] Checking panic-rtt-target v0.1.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Checking stm32h7xx-hal v0.13.1 [INFO] [stdout] warning: the item `cortex_m` is imported redundantly [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ the item `cortex_m` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cortex_m` is imported redundantly [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ the item `cortex_m` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `smoltcp` is imported redundantly [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use smoltcp; [INFO] [stdout] | ^^^^^^^ the item `smoltcp` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `smoltcp` is imported redundantly [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use smoltcp; [INFO] [stdout] | ^^^^^^^ the item `smoltcp` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | &mut ETHERNET_DESCRIPTOR_RING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 131 | addr_of_mut!(ETHERNET_DESCRIPTOR_RING), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | ETHERNET = Some(Net::new(&mut ETHERNET_STORAGE, eth_dma, mac_addr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 153 | ETHERNET = Some(Net::new(addr_of_mut!(ETHERNET_STORAGE), eth_dma, mac_addr)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | let store = unsafe { &mut ETHERNET_STORAGE }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | let store = unsafe { addr_of_mut!(ETHERNET_STORAGE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | &mut ETHERNET_DESCRIPTOR_RING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 131 | addr_of_mut!(ETHERNET_DESCRIPTOR_RING), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | ETHERNET = Some(Net::new(&mut ETHERNET_STORAGE, eth_dma, mac_addr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 153 | ETHERNET = Some(Net::new(addr_of_mut!(ETHERNET_STORAGE), eth_dma, mac_addr)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | let store = unsafe { &mut ETHERNET_STORAGE }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | let store = unsafe { addr_of_mut!(ETHERNET_STORAGE) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.33s [INFO] running `Command { std: "docker" "inspect" "81244eed32adf01adae90bf30d02135da50e763a59354acf93ef8083bff1391f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81244eed32adf01adae90bf30d02135da50e763a59354acf93ef8083bff1391f", kill_on_drop: false }` [INFO] [stdout] 81244eed32adf01adae90bf30d02135da50e763a59354acf93ef8083bff1391f