[INFO] fetching crate cmsis-cffi 0.7.0... [INFO] checking cmsis-cffi-0.7.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate cmsis-cffi 0.7.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate cmsis-cffi 0.7.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 147 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding minidom v0.12.0 (latest: v0.16.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding quick-xml v0.17.2 (latest: v0.36.1) [INFO] [stderr] Adding rustls-native-certs v0.7.3 (latest: v0.8.0) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded minidom v0.12.0 [INFO] [stderr] Downloaded cmsis-pack v0.7.0 [INFO] [stderr] Downloaded quick-xml v0.17.2 [INFO] [stderr] Downloaded ctor v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ef34361a7729a507f431480508ac71d2add2988f0bda15ad83038b0da9faf21 [INFO] running `Command { std: "docker" "start" "-a" "0ef34361a7729a507f431480508ac71d2add2988f0bda15ad83038b0da9faf21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ef34361a7729a507f431480508ac71d2add2988f0bda15ad83038b0da9faf21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef34361a7729a507f431480508ac71d2add2988f0bda15ad83038b0da9faf21", kill_on_drop: false }` [INFO] [stdout] 0ef34361a7729a507f431480508ac71d2add2988f0bda15ad83038b0da9faf21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a765955d63ff68457705b7fef785cdb4206b89da64c62f05111bf16369e72ca9 [INFO] running `Command { std: "docker" "start" "-a" "a765955d63ff68457705b7fef785cdb4206b89da64c62f05111bf16369e72ca9", kill_on_drop: false }` [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking quick-xml v0.17.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking rustls-webpki v0.102.7 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking minidom v0.12.0 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking backtrace v0.3.73 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking hyper-rustls v0.27.2 [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 20.12s [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" "a765955d63ff68457705b7fef785cdb4206b89da64c62f05111bf16369e72ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a765955d63ff68457705b7fef785cdb4206b89da64c62f05111bf16369e72ca9", kill_on_drop: false }` [INFO] [stdout] a765955d63ff68457705b7fef785cdb4206b89da64c62f05111bf16369e72ca9