[INFO] fetching crate cmsis-cffi 0.7.0... [INFO] checking cmsis-cffi-0.7.0 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate cmsis-cffi 0.7.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate cmsis-cffi 0.7.0 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cmsis-cffi 0.7.0 [INFO] finished tweaking crates.io crate cmsis-cffi 0.7.0 [INFO] tweaked toml for crates.io crate cmsis-cffi 0.7.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 143 packages to latest compatible versions [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding minidom v0.12.0 (available: v0.16.0) [INFO] [stderr] Adding quick-xml v0.17.2 (available: v0.36.2) [INFO] [stderr] Adding rustls-native-certs v0.7.3 (available: v0.8.0) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-registry v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding windows-strings v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded cmsis-pack v0.7.0 [INFO] [stderr] Downloaded windows-result v0.2.0 [INFO] [stderr] Downloaded wasm-streams v0.4.0 [INFO] [stderr] Downloaded windows-strings v0.1.0 [INFO] [stderr] Downloaded rustc-hash v2.0.0 [INFO] [stderr] Downloaded windows-registry v0.2.0 [INFO] [stderr] Downloaded minidom v0.12.0 [INFO] [stderr] Downloaded rustls-native-certs v0.8.0 [INFO] [stderr] Downloaded hyper-rustls v0.27.3 [INFO] [stderr] Downloaded hyper-util v0.1.9 [INFO] [stderr] Downloaded quinn v0.11.5 [INFO] [stderr] Downloaded security-framework v2.11.1 [INFO] [stderr] Downloaded quick-xml v0.17.2 [INFO] [stderr] Downloaded reqwest v0.12.7 [INFO] [stderr] Downloaded url v2.5.2 [INFO] [stderr] Downloaded security-framework-sys v2.12.0 [INFO] [stderr] Downloaded rustls-pemfile v2.1.3 [INFO] [stderr] Downloaded quinn-proto v0.11.8 [INFO] [stderr] Downloaded rustls-webpki v0.102.8 [INFO] [stderr] Downloaded tokio-rustls v0.26.0 [INFO] [stderr] Downloaded quinn-udp v0.5.5 [INFO] [stderr] Downloaded idna v0.5.0 [INFO] [stderr] Downloaded rustls-native-certs v0.7.3 [INFO] [stderr] Downloaded rustls-pki-types v1.8.0 [INFO] [stderr] Downloaded rustls v0.23.13 [INFO] [stderr] Downloaded ipnet v2.10.0 [INFO] [stderr] Downloaded ctor v0.2.8 [INFO] [stderr] Downloaded ring v0.17.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a757d9144d3eb6238512766fbd36f890bcf7ac139b566b8cd881cfa6b8981b75 [INFO] running `Command { std: "docker" "start" "-a" "a757d9144d3eb6238512766fbd36f890bcf7ac139b566b8cd881cfa6b8981b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a757d9144d3eb6238512766fbd36f890bcf7ac139b566b8cd881cfa6b8981b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a757d9144d3eb6238512766fbd36f890bcf7ac139b566b8cd881cfa6b8981b75", kill_on_drop: false }` [INFO] [stdout] a757d9144d3eb6238512766fbd36f890bcf7ac139b566b8cd881cfa6b8981b75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e98f1f1a93f2da1ac4fdda8abd04143dcac6126cf73196fcc54c65f485f8fee2 [INFO] running `Command { std: "docker" "start" "-a" "e98f1f1a93f2da1ac4fdda8abd04143dcac6126cf73196fcc54c65f485f8fee2", kill_on_drop: false }` [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking rustls-native-certs v0.8.0 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking quick-xml v0.17.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking minidom v0.12.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking cmsis-pack v0.7.0 [INFO] [stderr] Checking cmsis-cffi v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | / with_from_raw!(let mut packs = parsed_packs, { [INFO] [stdout] 32 | | let size = packs.0.len(); [INFO] [stdout] 33 | | let packs: Vec<_> = packs.0.drain(0..size).collect(); [INFO] [stdout] 34 | | let thread = thread::Builder::new() [INFO] [stdout] ... | [INFO] [stdout] 49 | | })))) [INFO] [stdout] 50 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / with_from_raw!(let mut boxed = ptr,{ [INFO] [stdout] 129 | | let (ret, next_state) = match mem::replace(boxed.borrow_mut(), UpdatePoll::Drained) { [INFO] [stdout] 130 | | UpdatePoll::Complete(inner) => (true, UpdatePoll::Complete(inner)), [INFO] [stdout] 131 | | UpdatePoll::Drained => (true, UpdatePoll::Drained), [INFO] [stdout] ... | [INFO] [stdout] 146 | | ret [INFO] [stdout] 147 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | / with_from_raw!(let boxed = ptr,{ [INFO] [stdout] 157 | | match boxed.borrow() { [INFO] [stdout] 158 | | UpdatePoll::Complete(_) => null_mut(), [INFO] [stdout] 159 | | UpdatePoll::Drained => null_mut(), [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | / with_from_raw!(let mut boxed = ptr,{ [INFO] [stdout] 186 | | let (ret, next_state) = match mem::replace(boxed.borrow_mut(), UpdatePoll::Drained) { [INFO] [stdout] 187 | | UpdatePoll::Complete(inner) => (Some(inner), UpdatePoll::Drained), [INFO] [stdout] 188 | | UpdatePoll::Drained => (None, UpdatePoll::Drained), [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | / with_from_raw!(let mut boxed = ptr, { [INFO] [stdout] 216 | | if let Some(osstr) = boxed.0.pop().map(|p| p.into_os_string()){ [INFO] [stdout] 217 | | match osstr.to_str() { [INFO] [stdout] 218 | | Some(osstr) => { [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] 226 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | / with_from_raw!(let mut boxed = ptr, { [INFO] [stdout] 237 | | let pstore = unsafe { CStr::from_ptr(cstr) }.to_string_lossy(); [INFO] [stdout] 238 | | boxed.0.push(pstore.into_owned().into()); [INFO] [stdout] 239 | | Ok(()) [INFO] [stdout] 240 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pdsc.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / with_from_raw!(let filenames = packs, { [INFO] [stdout] 31 | | dump_devices(&filenames.0, [INFO] [stdout] 32 | | dev_dest.map(|d| d.to_string()), [INFO] [stdout] 33 | | brd_dest.map(|d| d.to_string()), [INFO] [stdout] 34 | | ) [INFO] [stdout] 35 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pdsc.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | / with_from_raw!(let boxed = ptr,{ [INFO] [stdout] 68 | | let pdsc_files = boxed.iter(); [INFO] [stdout] 69 | | Ok(Box::into_raw(Box::new(ParsedPacks( [INFO] [stdout] 70 | | pdsc_files [INFO] [stdout] 71 | | .filter_map(|input| Package::from_path(Path::new(input)).ok_warn()) [INFO] [stdout] 72 | | .collect())))) [INFO] [stdout] 73 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pdsc.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / with_from_raw!(let boxed = ptr, { [INFO] [stdout] 91 | | let pdscs = boxed.iter(); [INFO] [stdout] 92 | | let dumped_components = cmsis_pack::pdsc::dumps_components(pdscs)?; [INFO] [stdout] 93 | | Ok(CString::new(dumped_components).unwrap().into_raw()) [INFO] [stdout] 94 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | / with_from_raw!(let mut packs = parsed_packs, { [INFO] [stdout] 32 | | let size = packs.0.len(); [INFO] [stdout] 33 | | let packs: Vec<_> = packs.0.drain(0..size).collect(); [INFO] [stdout] 34 | | let thread = thread::Builder::new() [INFO] [stdout] ... | [INFO] [stdout] 49 | | })))) [INFO] [stdout] 50 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / with_from_raw!(let mut boxed = ptr,{ [INFO] [stdout] 129 | | let (ret, next_state) = match mem::replace(boxed.borrow_mut(), UpdatePoll::Drained) { [INFO] [stdout] 130 | | UpdatePoll::Complete(inner) => (true, UpdatePoll::Complete(inner)), [INFO] [stdout] 131 | | UpdatePoll::Drained => (true, UpdatePoll::Drained), [INFO] [stdout] ... | [INFO] [stdout] 146 | | ret [INFO] [stdout] 147 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | / with_from_raw!(let boxed = ptr,{ [INFO] [stdout] 157 | | match boxed.borrow() { [INFO] [stdout] 158 | | UpdatePoll::Complete(_) => null_mut(), [INFO] [stdout] 159 | | UpdatePoll::Drained => null_mut(), [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | / with_from_raw!(let mut boxed = ptr,{ [INFO] [stdout] 186 | | let (ret, next_state) = match mem::replace(boxed.borrow_mut(), UpdatePoll::Drained) { [INFO] [stdout] 187 | | UpdatePoll::Complete(inner) => (Some(inner), UpdatePoll::Drained), [INFO] [stdout] 188 | | UpdatePoll::Drained => (None, UpdatePoll::Drained), [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | / with_from_raw!(let mut boxed = ptr, { [INFO] [stdout] 216 | | if let Some(osstr) = boxed.0.pop().map(|p| p.into_os_string()){ [INFO] [stdout] 217 | | match osstr.to_str() { [INFO] [stdout] 218 | | Some(osstr) => { [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] 226 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pack_index.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | / with_from_raw!(let mut boxed = ptr, { [INFO] [stdout] 237 | | let pstore = unsafe { CStr::from_ptr(cstr) }.to_string_lossy(); [INFO] [stdout] 238 | | boxed.0.push(pstore.into_owned().into()); [INFO] [stdout] 239 | | Ok(()) [INFO] [stdout] 240 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pdsc.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / with_from_raw!(let filenames = packs, { [INFO] [stdout] 31 | | dump_devices(&filenames.0, [INFO] [stdout] 32 | | dev_dest.map(|d| d.to_string()), [INFO] [stdout] 33 | | brd_dest.map(|d| d.to_string()), [INFO] [stdout] 34 | | ) [INFO] [stdout] 35 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pdsc.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | / with_from_raw!(let boxed = ptr,{ [INFO] [stdout] 68 | | let pdsc_files = boxed.iter(); [INFO] [stdout] 69 | | Ok(Box::into_raw(Box::new(ParsedPacks( [INFO] [stdout] 70 | | pdsc_files [INFO] [stdout] 71 | | .filter_map(|input| Package::from_path(Path::new(input)).ok_warn()) [INFO] [stdout] 72 | | .collect())))) [INFO] [stdout] 73 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Box::into_raw($boxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pdsc.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / with_from_raw!(let boxed = ptr, { [INFO] [stdout] 91 | | let pdscs = boxed.iter(); [INFO] [stdout] 92 | | let dumped_components = cmsis_pack::pdsc::dumps_components(pdscs)?; [INFO] [stdout] 93 | | Ok(CString::new(dumped_components).unwrap().into_raw()) [INFO] [stdout] 94 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_from_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = Box::into_raw($boxed); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.17.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e98f1f1a93f2da1ac4fdda8abd04143dcac6126cf73196fcc54c65f485f8fee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e98f1f1a93f2da1ac4fdda8abd04143dcac6126cf73196fcc54c65f485f8fee2", kill_on_drop: false }` [INFO] [stdout] e98f1f1a93f2da1ac4fdda8abd04143dcac6126cf73196fcc54c65f485f8fee2