[INFO] fetching crate regmaps 0.0.0... [INFO] checking regmaps-0.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate regmaps 0.0.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate regmaps 0.0.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate regmaps 0.0.0 [INFO] finished tweaking crates.io crate regmaps 0.0.0 [INFO] tweaked toml for crates.io crate regmaps 0.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate regmaps 0.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 938408ec83fdae2adf56949205d452ba3aee1d7b3c75767ea76dc88aae414bd7 [INFO] running `Command { std: "docker" "start" "-a" "938408ec83fdae2adf56949205d452ba3aee1d7b3c75767ea76dc88aae414bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "938408ec83fdae2adf56949205d452ba3aee1d7b3c75767ea76dc88aae414bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "938408ec83fdae2adf56949205d452ba3aee1d7b3c75767ea76dc88aae414bd7", kill_on_drop: false }` [INFO] [stdout] 938408ec83fdae2adf56949205d452ba3aee1d7b3c75767ea76dc88aae414bd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55cace476ffbcea54533a98dd8dacbab4c7628ddbd86d9dba94a8c51979c4fec [INFO] running `Command { std: "docker" "start" "-a" "55cace476ffbcea54533a98dd8dacbab4c7628ddbd86d9dba94a8c51979c4fec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Compiling rust-embed-utils v5.1.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling shellexpand v2.1.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling rust-embed-impl v5.9.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking rust-embed v5.9.0 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking svd-parser v0.9.0 [INFO] [stderr] Checking serde_yaml v0.8.16 [INFO] [stderr] Checking tera v1.6.1 [INFO] [stderr] Checking regmaps v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/input/svd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svd_parser as svd` [INFO] [stdout] --> src/input/yaml.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use svd_parser as svd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svd_parser::svd::registercluster::RegisterCluster` [INFO] [stdout] --> src/input/yaml.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use svd_parser::svd::registercluster::RegisterCluster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/input/yaml.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svd::parse_svd` [INFO] [stdout] --> src/input/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use svd::parse_svd; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `format_ident` and `quote` [INFO] [stdout] --> src/output/cpp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::{format_ident, quote}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpp::generate_cpp` [INFO] [stdout] --> src/output/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use cpp::generate_cpp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpp::CppConfig` [INFO] [stdout] --> src/output/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use cpp::CppConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json::*` [INFO] [stdout] --> src/output/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use json::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/input/svd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svd_parser as svd` [INFO] [stdout] --> src/input/yaml.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use svd_parser as svd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svd_parser::svd::registercluster::RegisterCluster` [INFO] [stdout] --> src/input/yaml.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use svd_parser::svd::registercluster::RegisterCluster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/input/yaml.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svd::parse_svd` [INFO] [stdout] --> src/input/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use svd::parse_svd; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `format_ident` and `quote` [INFO] [stdout] --> src/output/cpp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::{format_ident, quote}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::info::*` [INFO] [stdout] --> src/output/rust.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | use crate::info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpp::generate_cpp` [INFO] [stdout] --> src/output/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use cpp::generate_cpp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpp::CppConfig` [INFO] [stdout] --> src/output/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use cpp::CppConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json::*` [INFO] [stdout] --> src/output/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use json::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/input/svd.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 95 | unimplemented!("Register arrays are unimplemented!"); [INFO] [stdout] | ---------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 96 | println!("- reg array dims={:?}", dims); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/input/svd.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 101 | unimplemented!("Clusters are unimplemented!"); [INFO] [stdout] | --------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 102 | println!("- cluster"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/input/svd.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 95 | unimplemented!("Register arrays are unimplemented!"); [INFO] [stdout] | ---------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 96 | println!("- reg array dims={:?}", dims); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/input/svd.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 108 | unimplemented!("Cluster arrays are unimplemented!"); [INFO] [stdout] | --------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 109 | println!("- cluster array: {} dims={:?}", cluster.name, dims); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/input/svd.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 101 | unimplemented!("Clusters are unimplemented!"); [INFO] [stdout] | --------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 102 | println!("- cluster"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/input/svd.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 108 | unimplemented!("Cluster arrays are unimplemented!"); [INFO] [stdout] | --------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 109 | println!("- cluster array: {} dims={:?}", cluster.name, dims); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/input/svd.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse_field(config: &Config, field: &svd_parser::svd::fieldinfo::FieldInfo) -> Field { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/input/svd.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | svd_parser::svd::field::Field::Array(info, dims) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/input/svd.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 67 | svd_parser::svd::field::Field::Array(info, dims) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/input/svd.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | reg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/input/svd.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | dims, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/input/svd.rs:100:84 [INFO] [stdout] | [INFO] [stdout] 100 | RegisterCluster::Cluster(svd_parser::svd::cluster::Cluster::Single(cluster)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/input/svd.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | cluster, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/input/svd.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | dims, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/input/svd.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse_field(config: &Config, field: &svd_parser::svd::fieldinfo::FieldInfo) -> Field { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/input/svd.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | svd_parser::svd::field::Field::Array(info, dims) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/input/svd.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 67 | svd_parser::svd::field::Field::Array(info, dims) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/input/svd.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | reg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/input/svd.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | dims, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/input/svd.rs:100:84 [INFO] [stdout] | [INFO] [stdout] 100 | RegisterCluster::Cluster(svd_parser::svd::cluster::Cluster::Single(cluster)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cluster` [INFO] [stdout] --> src/input/svd.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | cluster, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/input/svd.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | dims, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/input/yaml.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn parse_yaml(filename: &str, config: &Config) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/output/cpp.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_cpp(config: &CppConfig, periph: &Peripheral) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/input/yaml.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn parse_yaml(filename: &str, config: &Config) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/output/cpp.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_cpp(config: &CppConfig, periph: &Peripheral) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_field` is never used [INFO] [stdout] --> src/input/svd.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse_field(config: &Config, field: &svd_parser::svd::fieldinfo::FieldInfo) -> Field { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_reg` is never used [INFO] [stdout] --> src/input/svd.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse_reg(config: &Config, reg: &svd_parser::svd::registerinfo::RegisterInfo) -> Register { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_periph` is never used [INFO] [stdout] --> src/input/svd.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_periph(config: &Config, regs: &[RegisterCluster]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_svd` is never used [INFO] [stdout] --> src/input/svd.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn parse_svd(filename: &str, periph: &str, config: &Config) -> Peripheral { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `periph_to_context` is never used [INFO] [stdout] --> src/output/cpp.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn periph_to_context(periph: &Peripheral) -> tera::Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_periph` is never used [INFO] [stdout] --> src/output/cpp.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn generate_periph(periph: &Peripheral) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/output/cpp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 30 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CppConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_cpp` is never used [INFO] [stdout] --> src/output/cpp.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_cpp(config: &CppConfig, periph: &Peripheral) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/output/json.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct JsonConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 7 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_json` is never used [INFO] [stdout] --> src/output/json.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn generate_json(config: &JsonConfig, periph: &Peripheral) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_cargo` is never used [INFO] [stdout] --> src/output/rust.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn generate_cargo() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out_filename` is never read [INFO] [stdout] --> src/output/rust.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct RustConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 222 | pub path: String, [INFO] [stdout] 223 | pub out_filename: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RustConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output/cpp.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | let mut tera = tera::Tera::default(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | tera.render("periph_header.hpp", &periph_to_context(periph)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output/rust.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 125 | let mut tera = tera::Tera::default(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | tera.render("Cargo.toml", &tera::Context::new()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regmaps` (lib) due to 3 previous errors; 34 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `parse_field` is never used [INFO] [stdout] --> src/input/svd.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn parse_field(config: &Config, field: &svd_parser::svd::fieldinfo::FieldInfo) -> Field { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_reg` is never used [INFO] [stdout] --> src/input/svd.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse_reg(config: &Config, reg: &svd_parser::svd::registerinfo::RegisterInfo) -> Register { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_periph` is never used [INFO] [stdout] --> src/input/svd.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_periph(config: &Config, regs: &[RegisterCluster]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_svd` is never used [INFO] [stdout] --> src/input/svd.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn parse_svd(filename: &str, periph: &str, config: &Config) -> Peripheral { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `periph_to_context` is never used [INFO] [stdout] --> src/output/cpp.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn periph_to_context(periph: &Peripheral) -> tera::Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_periph` is never used [INFO] [stdout] --> src/output/cpp.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn generate_periph(periph: &Peripheral) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/output/cpp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 30 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CppConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_cpp` is never used [INFO] [stdout] --> src/output/cpp.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_cpp(config: &CppConfig, periph: &Peripheral) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/output/json.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct JsonConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 7 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_json` is never used [INFO] [stdout] --> src/output/json.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn generate_json(config: &JsonConfig, periph: &Peripheral) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_cargo` is never used [INFO] [stdout] --> src/output/rust.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn generate_cargo() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out_filename` is never read [INFO] [stdout] --> src/output/rust.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct RustConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 222 | pub path: String, [INFO] [stdout] 223 | pub out_filename: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RustConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output/cpp.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | let mut tera = tera::Tera::default(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | tera.render("periph_header.hpp", &periph_to_context(periph)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output/rust.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 125 | let mut tera = tera::Tera::default(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | tera.render("Cargo.toml", &tera::Context::new()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regmaps` (lib test) due to 3 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "55cace476ffbcea54533a98dd8dacbab4c7628ddbd86d9dba94a8c51979c4fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cace476ffbcea54533a98dd8dacbab4c7628ddbd86d9dba94a8c51979c4fec", kill_on_drop: false }` [INFO] [stdout] 55cace476ffbcea54533a98dd8dacbab4c7628ddbd86d9dba94a8c51979c4fec