[INFO] fetching crate cmsis-pack 0.6.0... [INFO] testing cmsis-pack-0.6.0 against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] extracting crate cmsis-pack 0.6.0 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate cmsis-pack 0.6.0 on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cmsis-pack 0.6.0 [INFO] finished tweaking crates.io crate cmsis-pack 0.6.0 [INFO] tweaked toml for crates.io crate cmsis-pack 0.6.0 written to /workspace/builds/worker-31/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 567f4e60c0d7c9dd6b7e9e4d01b1387392bc1c5589066827402c5649eac0736e [INFO] running `Command { std: "docker" "start" "-a" "567f4e60c0d7c9dd6b7e9e4d01b1387392bc1c5589066827402c5649eac0736e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "567f4e60c0d7c9dd6b7e9e4d01b1387392bc1c5589066827402c5649eac0736e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "567f4e60c0d7c9dd6b7e9e4d01b1387392bc1c5589066827402c5649eac0736e", kill_on_drop: false }` [INFO] [stdout] 567f4e60c0d7c9dd6b7e9e4d01b1387392bc1c5589066827402c5649eac0736e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7516470bd04c5bf4a2b0a83e497051f9399700035d1747c29c607c6ab6907d2 [INFO] running `Command { std: "docker" "start" "-a" "b7516470bd04c5bf4a2b0a83e497051f9399700035d1747c29c607c6ab6907d2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling serde_json v1.0.80 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quick-xml v0.17.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling minidom v0.12.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling webpki-roots v0.22.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling tokio v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-rustls v0.23.3 [INFO] [stderr] Compiling trust-dns-proto v0.20.4 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling trust-dns-resolver v0.20.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling cmsis-pack v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Pidx` [INFO] [stdout] --> src/update/download.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::pack_index::{PdscRef, Pidx, Vidx}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `downloaded` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/update/download.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 261 | let r = downloaded.get(&url.to_string()).unwrap_or(&0); [INFO] [stdout] | -------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 264 | downloaded.insert(url.to_string(), r - &1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/pdsc/component.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdsc/component.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/pdsc/component.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdsc/component.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `doc` [INFO] [stdout] --> src/pdsc/component.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | doc: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdsc/component.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_vidx` [INFO] [stdout] --> src/update/download.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse_vidx(body: Bytes) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `download_vidx_list` [INFO] [stdout] --> src/update/download.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 297 | pub(crate) fn download_vidx_list(&'a self, list: I) -> impl Stream> + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/update/download.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | std::fs::remove_file(temp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/update/download.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | std::fs::remove_file(temp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/update/download.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | std::fs::remove_file(temp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.44s [INFO] running `Command { std: "docker" "inspect" "b7516470bd04c5bf4a2b0a83e497051f9399700035d1747c29c607c6ab6907d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7516470bd04c5bf4a2b0a83e497051f9399700035d1747c29c607c6ab6907d2", kill_on_drop: false }` [INFO] [stdout] b7516470bd04c5bf4a2b0a83e497051f9399700035d1747c29c607c6ab6907d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 137ac28aec6a16fb052b06611ece8e9436180c78af2b422466a164bf626274a4 [INFO] running `Command { std: "docker" "start" "-a" "137ac28aec6a16fb052b06611ece8e9436180c78af2b422466a164bf626274a4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stdout] warning: unused import: `Pidx` [INFO] [stdout] --> src/update/download.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::pack_index::{PdscRef, Pidx, Vidx}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `downloaded` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/update/download.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 261 | let r = downloaded.get(&url.to_string()).unwrap_or(&0); [INFO] [stdout] | -------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 264 | downloaded.insert(url.to_string(), r - &1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/pdsc/component.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdsc/component.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/pdsc/component.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdsc/component.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `doc` [INFO] [stdout] --> src/pdsc/component.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | doc: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdsc/component.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_vidx` [INFO] [stdout] --> src/update/download.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse_vidx(body: Bytes) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `download_vidx_list` [INFO] [stdout] --> src/update/download.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 297 | pub(crate) fn download_vidx_list(&'a self, list: I) -> impl Stream> + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/update/download.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | std::fs::remove_file(temp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/update/download.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | std::fs::remove_file(temp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/update/download.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | std::fs::remove_file(temp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling cmsis-pack v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Pidx` [INFO] [stdout] --> src/update/download.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::pack_index::{PdscRef, Pidx, Vidx}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `downloaded` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/update/download.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 261 | let r = downloaded.get(&url.to_string()).unwrap_or(&0); [INFO] [stdout] | -------------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 264 | downloaded.insert(url.to_string(), r - &1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/pdsc/component.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdsc/component.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/pdsc/component.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdsc/component.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `doc` [INFO] [stdout] --> src/pdsc/component.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | doc: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pdsc/component.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_vidx` [INFO] [stdout] --> src/update/download.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse_vidx(body: Bytes) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `download_vidx_list` [INFO] [stdout] --> src/update/download.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 297 | pub(crate) fn download_vidx_list(&'a self, list: I) -> impl Stream> + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/update/download.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | std::fs::remove_file(temp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/update/download.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | std::fs::remove_file(temp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/update/download.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | std::fs::remove_file(temp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.71s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmsis_pack-dc16495f651a8bdf) [INFO] running `Command { std: "docker" "inspect" "137ac28aec6a16fb052b06611ece8e9436180c78af2b422466a164bf626274a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "137ac28aec6a16fb052b06611ece8e9436180c78af2b422466a164bf626274a4", kill_on_drop: false }` [INFO] [stdout] 137ac28aec6a16fb052b06611ece8e9436180c78af2b422466a164bf626274a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f1c79db798a4edf4c6e2ee969c83c9eaa71e306766419849b2f5e78a4603d7b [INFO] running `Command { std: "docker" "start" "-a" "6f1c79db798a4edf4c6e2ee969c83c9eaa71e306766419849b2f5e78a4603d7b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `Pidx` [INFO] [stderr] --> src/update/download.rs:12:34 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::pack_index::{PdscRef, Pidx, Vidx}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `downloaded` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/update/download.rs:264:29 [INFO] [stderr] | [INFO] [stderr] 261 | let r = downloaded.get(&url.to_string()).unwrap_or(&0); [INFO] [stderr] | -------------------------------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 264 | downloaded.insert(url.to_string(), r - &1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/pdsc/component.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pdsc/component.rs:158:10 [INFO] [stderr] | [INFO] [stderr] 158 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `description` [INFO] [stderr] --> src/pdsc/component.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | description: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pdsc/component.rs:158:10 [INFO] [stderr] | [INFO] [stderr] 158 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `doc` [INFO] [stderr] --> src/pdsc/component.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | doc: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pdsc/component.rs:158:10 [INFO] [stderr] | [INFO] [stderr] 158 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_vidx` [INFO] [stderr] --> src/update/download.rs:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | fn parse_vidx(body: Bytes) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `download_vidx_list` [INFO] [stderr] --> src/update/download.rs:297:19 [INFO] [stderr] | [INFO] [stderr] 297 | pub(crate) fn download_vidx_list(&'a self, list: I) -> impl Stream> + 'a [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/update/download.rs:164:25 [INFO] [stderr] | [INFO] [stderr] 164 | std::fs::remove_file(temp); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/update/download.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | std::fs::remove_file(temp); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/update/download.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | std::fs::remove_file(temp); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `cmsis-pack` (lib) generated 10 warnings [INFO] [stderr] warning: `cmsis-pack` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmsis_pack-dc16495f651a8bdf) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test pack_index::test::pdscref_wrong_elem ... ok [INFO] [stdout] test pack_index::test::pdscref_missing_attr ... ok [INFO] [stdout] test pack_index::test::pidx_optionals ... ok [INFO] [stdout] test pack_index::test::pdscref_optionals ... ok [INFO] [stdout] test pack_index::test::vidx_optionals ... ok [INFO] [stdout] test pack_index::test::pidx_misssing_attr ... ok [INFO] [stdout] test pack_index::test::pidx_wrong_elem ... ok [INFO] [stdout] test pack_index::test::vidx_wrong_elem ... ok [INFO] [stdout] test pack_index::test::vidx_misssing_attr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cmsis-pack [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6f1c79db798a4edf4c6e2ee969c83c9eaa71e306766419849b2f5e78a4603d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1c79db798a4edf4c6e2ee969c83c9eaa71e306766419849b2f5e78a4603d7b", kill_on_drop: false }` [INFO] [stdout] 6f1c79db798a4edf4c6e2ee969c83c9eaa71e306766419849b2f5e78a4603d7b