[INFO] fetching crate genref 0.8.0... [INFO] checking genref-0.8.0 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate genref 0.8.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate genref 0.8.0 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate genref 0.8.0 [INFO] finished tweaking crates.io crate genref 0.8.0 [INFO] tweaked toml for crates.io crate genref 0.8.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 475d17349b19ba063c3504e4877988b327f0895b65c42b7ae2c9a92a122aeed0 [INFO] running `Command { std: "docker" "start" "-a" "475d17349b19ba063c3504e4877988b327f0895b65c42b7ae2c9a92a122aeed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "475d17349b19ba063c3504e4877988b327f0895b65c42b7ae2c9a92a122aeed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "475d17349b19ba063c3504e4877988b327f0895b65c42b7ae2c9a92a122aeed0", kill_on_drop: false }` [INFO] [stdout] 475d17349b19ba063c3504e4877988b327f0895b65c42b7ae2c9a92a122aeed0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfd273933dcd2f26298243c944fc838b3e3436d3f089151e790845133d69b15e [INFO] running `Command { std: "docker" "start" "-a" "bfd273933dcd2f26298243c944fc838b3e3436d3f089151e790845133d69b15e", kill_on_drop: false }` [INFO] [stderr] Checking genref v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "bfd273933dcd2f26298243c944fc838b3e3436d3f089151e790845133d69b15e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd273933dcd2f26298243c944fc838b3e3436d3f089151e790845133d69b15e", kill_on_drop: false }` [INFO] [stdout] bfd273933dcd2f26298243c944fc838b3e3436d3f089151e790845133d69b15e [INFO] checking genref-0.8.0 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate genref 0.8.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate genref 0.8.0 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate genref 0.8.0 [INFO] finished tweaking crates.io crate genref 0.8.0 [INFO] tweaked toml for crates.io crate genref 0.8.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "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 21 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31ce8c7ae887fd2a4e718e21e06cc88c31dbfe520d267eed1a2c65cb36cc770a [INFO] running `Command { std: "docker" "start" "-a" "31ce8c7ae887fd2a4e718e21e06cc88c31dbfe520d267eed1a2c65cb36cc770a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31ce8c7ae887fd2a4e718e21e06cc88c31dbfe520d267eed1a2c65cb36cc770a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ce8c7ae887fd2a4e718e21e06cc88c31dbfe520d267eed1a2c65cb36cc770a", kill_on_drop: false }` [INFO] [stdout] 31ce8c7ae887fd2a4e718e21e06cc88c31dbfe520d267eed1a2c65cb36cc770a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 731384b11f38320279f83933438f56815640e8bb24277fb18ac505197916c6ed [INFO] running `Command { std: "docker" "start" "-a" "731384b11f38320279f83933438f56815640e8bb24277fb18ac505197916c6ed", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking genref v0.8.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (19 fixes) [INFO] [stderr] Fixed src/global.rs (19 fixes) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { &mut ZERO })), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { addr_of_mut!(ZERO) })), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { &mut ZERO })), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { addr_of_mut!(ZERO) })), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking genref v0.8.0 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/lib.rs:198:67 [INFO] [stdout] | [INFO] [stdout] 198 | fn clear(wl: &mut Writing) -> impl Drop { DROPQUEUE.with(|dq| dq.borrow_mut().clear_(wl)) } [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `impl Drop` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 RefCell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/lib.rs:198:67 [INFO] [stdout] | [INFO] [stdout] 198 | fn clear(wl: &mut Writing) -> impl Drop { DROPQUEUE.with(|dq| dq.borrow_mut().clear_(wl)) } [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `impl Drop` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 RefCell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/lib.rs:198:67 [INFO] [stdout] | [INFO] [stdout] 198 | fn clear(wl: &mut Writing) -> impl Drop { DROPQUEUE.with(|dq| dq.borrow_mut().clear_(wl)) } [INFO] [stdout] | ---------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/lib.rs:198:67 [INFO] [stdout] | [INFO] [stdout] 198 | fn clear(wl: &mut Writing) -> impl Drop { DROPQUEUE.with(|dq| dq.borrow_mut().clear_(wl)) } [INFO] [stdout] | ---------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/global.rs:207:47 [INFO] [stdout] | [INFO] [stdout] 207 | fn clear(wl: &mut Writing) -> impl Drop { DROPQUEUE.lock().clear_(wl) } [INFO] [stdout] | - ^^^^^^^^^^^^^^^^----------- - temporary value is freed at the end of this statement [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | | argument requires that borrow lasts for `'1` [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/global.rs:207:47 [INFO] [stdout] | [INFO] [stdout] 207 | fn clear(wl: &mut Writing) -> impl Drop { DROPQUEUE.lock().clear_(wl) } [INFO] [stdout] | - ^^^^^^^^^^^^^^^^----------- - temporary value is freed at the end of this statement [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | | argument requires that borrow lasts for `'1` [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/lib.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { &mut ZERO })), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { addr_of_mut!(ZERO) })), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/lib.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { &mut ZERO })), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { addr_of_mut!(ZERO) })), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `wl` does not live long enough [INFO] [stdout] --> src/global.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(mut wl) => dq = DropQueue::clear(&mut wl), [INFO] [stdout] | ------ ^^^^^^^- `wl` dropped here while still borrowed [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | binding `wl` declared here [INFO] [stdout] ... [INFO] [stdout] 130 | } [INFO] [stdout] | - borrow might be used here, when `dq` is dropped and runs the destructor for type `impl Drop` [INFO] [stdout] | [INFO] [stdout] = note: values in a scope are dropped in the opposite order they are defined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `wl` does not live long enough [INFO] [stdout] --> src/global.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(mut wl) => dq = DropQueue::clear(&mut wl), [INFO] [stdout] | ------ ^^^^^^^- `wl` dropped here while still borrowed [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | binding `wl` declared here [INFO] [stdout] ... [INFO] [stdout] 130 | } [INFO] [stdout] | - borrow might be used here, when `dq` is dropped and runs the destructor for type `impl Drop` [INFO] [stdout] | [INFO] [stdout] = note: values in a scope are dropped in the opposite order they are defined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `wl` because it is borrowed [INFO] [stdout] --> src/lib.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(mut wl) = Lock::writing() { [INFO] [stdout] | ------ binding `wl` declared here [INFO] [stdout] 118 | let d = DropQueue::clear(&mut wl); [INFO] [stdout] | ------- borrow of `wl` occurs here [INFO] [stdout] 119 | mem::drop(wl); [INFO] [stdout] | ^^ move out of `wl` occurs here [INFO] [stdout] 120 | mem::drop(d); [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] note: if `Writing` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Writing(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 118 | let d = DropQueue::clear(&mut wl); [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `wl` because it is borrowed [INFO] [stdout] --> src/lib.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(mut wl) = Lock::writing() { [INFO] [stdout] | ------ binding `wl` declared here [INFO] [stdout] 118 | let d = DropQueue::clear(&mut wl); [INFO] [stdout] | ------- borrow of `wl` occurs here [INFO] [stdout] 119 | mem::drop(wl); [INFO] [stdout] | ^^ move out of `wl` occurs here [INFO] [stdout] 120 | mem::drop(d); [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] note: if `Writing` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Writing(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 118 | let d = DropQueue::clear(&mut wl); [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0515, E0597, E0716, E0796. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0515, E0597, E0716, E0796. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genref` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `genref` (lib) due to 7 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "731384b11f38320279f83933438f56815640e8bb24277fb18ac505197916c6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731384b11f38320279f83933438f56815640e8bb24277fb18ac505197916c6ed", kill_on_drop: false }` [INFO] [stdout] 731384b11f38320279f83933438f56815640e8bb24277fb18ac505197916c6ed