[INFO] cloning repository https://github.com/luojia65/test-d1-flash-bare [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luojia65/test-d1-flash-bare" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Ftest-d1-flash-bare", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Ftest-d1-flash-bare'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd653f4a7cee4b4a95af4ce82e43beda1de9cf38 [INFO] checking luojia65/test-d1-flash-bare against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Ftest-d1-flash-bare" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/test-d1-flash-bare on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/luojia65/test-d1-flash-bare [INFO] finished tweaking git repo https://github.com/luojia65/test-d1-flash-bare [INFO] tweaked toml for git repo https://github.com/luojia65/test-d1-flash-bare written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/luojia65/test-d1-flash-bare 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap-verbosity-flag v1.0.0 [INFO] [stderr] Downloaded riscv v0.8.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.8 [INFO] [stderr] Downloaded d1-pac v0.0.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f2a04529b0949c43d235e06b3d824af6cf3da192dd2db9058db47c48f410886 [INFO] running `Command { std: "docker" "start" "-a" "5f2a04529b0949c43d235e06b3d824af6cf3da192dd2db9058db47c48f410886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f2a04529b0949c43d235e06b3d824af6cf3da192dd2db9058db47c48f410886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2a04529b0949c43d235e06b3d824af6cf3da192dd2db9058db47c48f410886", kill_on_drop: false }` [INFO] [stdout] 5f2a04529b0949c43d235e06b3d824af6cf3da192dd2db9058db47c48f410886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 701b50504ba925a92e13d983e3d4b198d8d0670755adaf3ad691148baf6a947a [INFO] running `Command { std: "docker" "start" "-a" "701b50504ba925a92e13d983e3d4b198d8d0670755adaf3ad691148baf6a947a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling riscv v0.8.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling d1-pac v0.0.23 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling test-d1-flash-bt0 v0.1.0 (/opt/rustwide/workdir/test-d1-flash-bt0) [INFO] [stderr] Checking embedded-hal v1.0.0-alpha.8 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking ctrlc v3.2.2 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking clap-verbosity-flag v1.0.0 [INFO] [stderr] Checking xtask v0.1.0 (/opt/rustwide/workdir/xtask) [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> test-d1-flash-bt0/src/main.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(naked_functions, asm_sym, asm_const)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `default_alloc_error_handler` has been stable since 1.68.0 and no longer requires an attribute to enable [INFO] [stdout] --> test-d1-flash-bt0/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(default_alloc_error_handler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> test-d1-flash-bt0/src/main.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(naked_functions, asm_sym, asm_const)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `default_alloc_error_handler` has been stable since 1.68.0 and no longer requires an attribute to enable [INFO] [stdout] --> test-d1-flash-bt0/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(default_alloc_error_handler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | memcpy_self(&mut PHY_CFG0, &mut PHY_CFG7, 22); [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] 324 | memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG7, 22); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:324:36 [INFO] [stdout] | [INFO] [stdout] 324 | memcpy_self(&mut PHY_CFG0, &mut PHY_CFG7, 22); [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] 324 | memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG7), 22); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:327:30 [INFO] [stdout] | [INFO] [stdout] 327 | 8 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG2, 22), [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] 327 | 8 => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG2, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | 8 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG2, 22), [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] 327 | 8 => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG2), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:328:30 [INFO] [stdout] | [INFO] [stdout] 328 | 9 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG3, 22), [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] 328 | 9 => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG3, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | 9 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG3, 22), [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] 328 | 9 => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG3), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:329:31 [INFO] [stdout] | [INFO] [stdout] 329 | 10 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG5, 22), [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] 329 | 10 => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG5, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:329:46 [INFO] [stdout] | [INFO] [stdout] 329 | 10 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG5, 22), [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] 329 | 10 => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG5), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | 11 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG4, 22), [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] 330 | 11 => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG4, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:330:46 [INFO] [stdout] | [INFO] [stdout] 330 | 11 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG4, 22), [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] 330 | 11 => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG4), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | 12 | _ => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG1, 22), [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] 332 | 12 | _ => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG1, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | 12 | _ => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG1, 22), [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] 332 | 12 | _ => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG1), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | memcpy_self(&mut PHY_CFG0, &mut PHY_CFG6, 22); [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] 340 | memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG6, 22); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:340:36 [INFO] [stdout] | [INFO] [stdout] 340 | memcpy_self(&mut PHY_CFG0, &mut PHY_CFG6, 22); [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] 340 | memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG6), 22); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | memcpy_self(&mut PHY_CFG0, &mut PHY_CFG7, 22); [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] 324 | memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG7, 22); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:324:36 [INFO] [stdout] | [INFO] [stdout] 324 | memcpy_self(&mut PHY_CFG0, &mut PHY_CFG7, 22); [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] 324 | memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG7), 22); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:327:30 [INFO] [stdout] | [INFO] [stdout] 327 | 8 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG2, 22), [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] 327 | 8 => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG2, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | 8 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG2, 22), [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] 327 | 8 => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG2), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:328:30 [INFO] [stdout] | [INFO] [stdout] 328 | 9 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG3, 22), [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] 328 | 9 => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG3, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | 9 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG3, 22), [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] 328 | 9 => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG3), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:329:31 [INFO] [stdout] | [INFO] [stdout] 329 | 10 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG5, 22), [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] 329 | 10 => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG5, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:329:46 [INFO] [stdout] | [INFO] [stdout] 329 | 10 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG5, 22), [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] 329 | 10 => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG5), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | 11 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG4, 22), [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] 330 | 11 => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG4, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:330:46 [INFO] [stdout] | [INFO] [stdout] 330 | 11 => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG4, 22), [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] 330 | 11 => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG4), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | 12 | _ => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG1, 22), [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] 332 | 12 | _ => memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG1, 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | 12 | _ => memcpy_self(&mut PHY_CFG0, &mut PHY_CFG1, 22), [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] 332 | 12 | _ => memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG1), 22), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | memcpy_self(&mut PHY_CFG0, &mut PHY_CFG6, 22); [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] 340 | memcpy_self(addr_of_mut!(PHY_CFG0), &mut PHY_CFG6, 22); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:340:36 [INFO] [stdout] | [INFO] [stdout] 340 | memcpy_self(&mut PHY_CFG0, &mut PHY_CFG6, 22); [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] 340 | memcpy_self(&mut PHY_CFG0, addr_of_mut!(PHY_CFG6), 22); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:1887:31 [INFO] [stdout] | [INFO] [stdout] 1887 | return unsafe { init_dram(&mut DRAM_PARA) }; [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] 1887 | return unsafe { init_dram(addr_of_mut!(DRAM_PARA)) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:1887:31 [INFO] [stdout] | [INFO] [stdout] 1887 | return unsafe { init_dram(&mut DRAM_PARA) }; [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] 1887 | return unsafe { init_dram(addr_of_mut!(DRAM_PARA)) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dram_para` [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:384:24 [INFO] [stdout] | [INFO] [stdout] 384 | unsafe fn dram_vol_set(dram_para: &mut dram_parameters) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dram_para` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tccd` is never read [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | let mut tccd: u32 = 0; // 88(sp) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trtp` is never read [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | let mut trtp: u32 = 0; // 64(sp) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trtp` is never read [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | trtp = (para.dram_tpr1 >> 15) & 0x1f; // [19:15] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dmr3` [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:814:9 [INFO] [stdout] | [INFO] [stdout] 814 | let dmr3 = para.dram_mr3; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dmr3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trd2wr` is never read [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | trd2wr = tcwl + 2 + twr as u32; // WL+BL/2+tWR [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dram_para` [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:384:24 [INFO] [stdout] | [INFO] [stdout] 384 | unsafe fn dram_vol_set(dram_para: &mut dram_parameters) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dram_para` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tccd` is never read [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | let mut tccd: u32 = 0; // 88(sp) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trtp` is never read [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | let mut trtp: u32 = 0; // 64(sp) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trtp` is never read [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | trtp = (para.dram_tpr1 >> 15) & 0x1f; // [19:15] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dmr3` [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:814:9 [INFO] [stdout] | [INFO] [stdout] 814 | let dmr3 = para.dram_mr3; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dmr3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trd2wr` is never read [INFO] [stdout] --> test-d1-flash-bt0/src/mctl.rs:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | trd2wr = tcwl + 2 + twr as u32; // WL+BL/2+tWR [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-d1-flash-bt0` (bin "test-d1-flash-bt0") due to 2 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `panic` is never used [INFO] [stdout] --> test-d1-flash-bt0/src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpiNor` is never constructed [INFO] [stdout] --> test-d1-flash-bt0/src/flash.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct SpiNor(Spi); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `free` are never used [INFO] [stdout] --> test-d1-flash-bt0/src/flash.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl SpiNor { [INFO] [stdout] | ------------------------------------------- associated items in this implementation [INFO] [stdout] 108 | #[inline] [INFO] [stdout] 109 | pub fn new(inner: Spi) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn free(self) -> Spi { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_id` and `copy_into` are never used [INFO] [stdout] --> test-d1-flash-bt0/src/flash.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl SpiNor { [INFO] [stdout] | ------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn read_id(&self) -> [u8; 3] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn copy_into(&mut self, addr: [u8; 3]) -> [u8; 4] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "701b50504ba925a92e13d983e3d4b198d8d0670755adaf3ad691148baf6a947a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "701b50504ba925a92e13d983e3d4b198d8d0670755adaf3ad691148baf6a947a", kill_on_drop: false }` [INFO] [stdout] 701b50504ba925a92e13d983e3d4b198d8d0670755adaf3ad691148baf6a947a