[INFO] fetching crate drone-cortex-m-svd 0.7.0... [INFO] checking drone-cortex-m-svd-0.7.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate drone-cortex-m-svd 0.7.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate drone-cortex-m-svd 0.7.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate drone-cortex-m-svd 0.7.0 [INFO] finished tweaking crates.io crate drone-cortex-m-svd 0.7.0 [INFO] tweaked toml for crates.io crate drone-cortex-m-svd 0.7.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.6.0) [INFO] [stderr] Adding blake2b_simd v0.5.11 (available: v1.0.2) [INFO] [stderr] Adding constant_time_eq v0.1.5 (available: v0.3.1) [INFO] [stderr] Adding dirs v1.0.5 (available: v5.0.1) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding quote v0.3.15 (available: v1.0.37) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding redox_users v0.3.5 (available: v0.4.6) [INFO] [stderr] Adding rust-argon2 v0.8.3 (available: v2.1.0) [INFO] [stderr] Adding serde-xml-rs v0.2.1 (available: v0.6.0) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.77) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding term v0.5.2 (available: v1.0.0) [INFO] [stderr] Adding unicode-xid v0.0.4 (available: v0.2.6) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding xml-rs v0.3.6 (available: v0.8.22) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-xml-rs v0.2.1 [INFO] [stderr] Downloaded xml-rs v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0e15f04059eb7521ab154dbe240e79483f192b1016a59959db85cdd3bbf7bd9 [INFO] running `Command { std: "docker" "start" "-a" "e0e15f04059eb7521ab154dbe240e79483f192b1016a59959db85cdd3bbf7bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0e15f04059eb7521ab154dbe240e79483f192b1016a59959db85cdd3bbf7bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0e15f04059eb7521ab154dbe240e79483f192b1016a59959db85cdd3bbf7bd9", kill_on_drop: false }` [INFO] [stdout] e0e15f04059eb7521ab154dbe240e79483f192b1016a59959db85cdd3bbf7bd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12479a2075bf09dc205abd4f7538e341380f51fafa728f876dea7a84de22a6d8 [INFO] running `Command { std: "docker" "start" "-a" "12479a2075bf09dc205abd4f7538e341380f51fafa728f876dea7a84de22a6d8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking synom v0.11.3 [INFO] [stderr] Checking xml-rs v0.3.6 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Checking syn v0.11.11 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking serde-xml-rs v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking drone-cortex-m-svd v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 69 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/device.rs:274:6 [INFO] [stdout] | [INFO] [stdout] 274 | Ok((map)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 274 - Ok((map)) [INFO] [stdout] 274 + Ok(map) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 69 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/device.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | #[derive(Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/device.rs:274:6 [INFO] [stdout] | [INFO] [stdout] 274 | Ok((map)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 274 - Ok((map)) [INFO] [stdout] 274 + Ok(map) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | if BIT_BAND.contains(address) { [INFO] [stdout] | -------- ^^^^^^^ expected `&u32`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 203 | if BIT_BAND.contains(&address) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/device.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let s = s.trim_left_matches("0x").trim_left_matches("0X"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 282 | let s = s.trim_start_matches("0x").trim_left_matches("0X"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/device.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | let s = s.trim_left_matches("0x").trim_left_matches("0X"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 282 | let s = s.trim_left_matches("0x").trim_start_matches("0X"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | if BIT_BAND.contains(address) { [INFO] [stdout] | -------- ^^^^^^^ expected `&u32`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 203 | if BIT_BAND.contains(&address) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/device.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let s = s.trim_left_matches("0x").trim_left_matches("0X"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 282 | let s = s.trim_start_matches("0x").trim_left_matches("0X"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/device.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | let s = s.trim_left_matches("0x").trim_left_matches("0X"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 282 | let s = s.trim_left_matches("0x").trim_start_matches("0X"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drone-cortex-m-svd` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drone-cortex-m-svd` (lib) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "12479a2075bf09dc205abd4f7538e341380f51fafa728f876dea7a84de22a6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12479a2075bf09dc205abd4f7538e341380f51fafa728f876dea7a84de22a6d8", kill_on_drop: false }` [INFO] [stdout] 12479a2075bf09dc205abd4f7538e341380f51fafa728f876dea7a84de22a6d8