[INFO] fetching crate task_scope 0.1.1... [INFO] checking task_scope-0.1.1 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] extracting crate task_scope 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate task_scope 0.1.1 [INFO] finished tweaking crates.io crate task_scope 0.1.1 [INFO] tweaked toml for crates.io crate task_scope 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate task_scope 0.1.1 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate task_scope 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e6bc624a8c1125608d1264269b1e34a8c0147b1c35fcd64a7db4706925b6293 [INFO] running `Command { std: "docker" "start" "-a" "8e6bc624a8c1125608d1264269b1e34a8c0147b1c35fcd64a7db4706925b6293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e6bc624a8c1125608d1264269b1e34a8c0147b1c35fcd64a7db4706925b6293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e6bc624a8c1125608d1264269b1e34a8c0147b1c35fcd64a7db4706925b6293", kill_on_drop: false }` [INFO] [stdout] 8e6bc624a8c1125608d1264269b1e34a8c0147b1c35fcd64a7db4706925b6293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe1c9cd5ced0c73a499b01b1c244bdbb7d4c27bee5c6875f01982317707ebd75 [INFO] running `Command { std: "docker" "start" "-a" "fe1c9cd5ced0c73a499b01b1c244bdbb7d4c27bee5c6875f01982317707ebd75", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking pin-project-lite v0.1.2 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking futures-intrusive v0.2.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling tokio-macros v0.2.3 [INFO] [stderr] Checking tokio v0.2.8 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking task_scope v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cancelable.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cancelable.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_Cancelable` [INFO] [stdout] 15 | pub struct Cancelable { [INFO] [stdout] | ---------- `Cancelable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cancellation.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cancellation.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_Cancellation` [INFO] [stdout] 17 | pub struct Cancellation { [INFO] [stdout] | ------------ `Cancellation` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handle.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handle.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_JoinHandle` [INFO] [stdout] 28 | pub struct JoinHandle { [INFO] [stdout] | ---------- `JoinHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/scope.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scope.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_ScopeFuture` [INFO] [stdout] 42 | pub struct ScopeFuture [INFO] [stdout] | ----------- `ScopeFuture` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/waker.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Box::from_raw(data.cast::() as *mut WakerData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = Box::from_raw(data.cast::() as *mut WakerData); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/with_token.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/with_token.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_WithToken` [INFO] [stdout] 12 | pub(crate) struct WithToken { [INFO] [stdout] | --------- `WithToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cancelable.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cancelable.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_Cancelable` [INFO] [stdout] 15 | pub struct Cancelable { [INFO] [stdout] | ---------- `Cancelable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cancellation.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cancellation.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_Cancellation` [INFO] [stdout] 17 | pub struct Cancellation { [INFO] [stdout] | ------------ `Cancellation` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/handle.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/handle.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_JoinHandle` [INFO] [stdout] 28 | pub struct JoinHandle { [INFO] [stdout] | ---------- `JoinHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/scope.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scope.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_ScopeFuture` [INFO] [stdout] 42 | pub struct ScopeFuture [INFO] [stdout] | ----------- `ScopeFuture` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/waker.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Box::from_raw(data.cast::() as *mut WakerData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = Box::from_raw(data.cast::() as *mut WakerData); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/with_token.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/with_token.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_WithToken` [INFO] [stdout] 12 | pub(crate) struct WithToken { [INFO] [stdout] | --------- `WithToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.88s [INFO] running `Command { std: "docker" "inspect" "fe1c9cd5ced0c73a499b01b1c244bdbb7d4c27bee5c6875f01982317707ebd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe1c9cd5ced0c73a499b01b1c244bdbb7d4c27bee5c6875f01982317707ebd75", kill_on_drop: false }` [INFO] [stdout] fe1c9cd5ced0c73a499b01b1c244bdbb7d4c27bee5c6875f01982317707ebd75