[INFO] fetching crate median 0.3.2...
[INFO] checking median-0.3.2 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate median 0.3.2 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate median 0.3.2 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate median 0.3.2
[INFO] finished tweaking crates.io crate median 0.3.2
[INFO] tweaked toml for crates.io crate median 0.3.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "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 18 packages to latest compatible versions
[INFO] [stderr]       Adding arraydeque v0.4.5 (available: v0.5.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v1.1.1)
[INFO] [stderr]       Adding missing_mpl v0.1.2 (available: v0.2.0)
[INFO] [stderr]       Adding noisy_float v0.1.15 (available: v0.2.0)
[INFO] [stderr]       Adding rand v0.4.6 (available: v0.8.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b93b905e8e12503aaf6a5b3d40ead60b7cd0e3c271ec5a50d4dc6fd0fbfdf4e
[INFO] running `Command { std: "docker" "start" "-a" "0b93b905e8e12503aaf6a5b3d40ead60b7cd0e3c271ec5a50d4dc6fd0fbfdf4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b93b905e8e12503aaf6a5b3d40ead60b7cd0e3c271ec5a50d4dc6fd0fbfdf4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b93b905e8e12503aaf6a5b3d40ead60b7cd0e3c271ec5a50d4dc6fd0fbfdf4e", kill_on_drop: false }`
[INFO] [stdout] 0b93b905e8e12503aaf6a5b3d40ead60b7cd0e3c271ec5a50d4dc6fd0fbfdf4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96465dba52c022519d38f922bd3a97f7d5142cb27b67ebba7be9b6392e064cfb
[INFO] running `Command { std: "docker" "start" "-a" "96465dba52c022519d38f922bd3a97f7d5142cb27b67ebba7be9b6392e064cfb", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling arraydeque v0.4.5
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking noisy_float v0.1.15
[INFO] [stderr]     Checking median v0.3.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `flame_it`
[INFO] [stdout]   --> benches/main.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |     #[cfg_attr(feature = "flame_it", flame)]
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `missing_mpl`, `nightly`, and `std`
[INFO] [stdout]    = help: consider adding `flame_it` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `flame_it`
[INFO] [stdout]   --> benches/main.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |     #[cfg_attr(feature = "flame_it", flame)]
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `missing_mpl`, `nightly`, and `std`
[INFO] [stdout]    = help: consider adding `flame_it` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> benches/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut aux_buffer = mem::MaybeUninit::<A>::uninit();
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function `MaybeUninit::<T>::assume_init` is unsafe and requires unsafe function or block
[INFO] [stdout]   --> benches/main.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.aux_buffer` which is behind a mutable reference
[INFO] [stdout]   --> benches/main.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ ------------- `self.aux_buffer` moved due to this method call
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              move occurs because `self.aux_buffer` has type `MaybeUninit<A>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `MaybeUninit::<T>::assume_init` takes ownership of the receiver `self`, which moves `self.aux_buffer`
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/core/src/mem/maybe_uninit.rs:631:37
[INFO] [stdout] help: you could `clone` the value and consume it, if the `A: Copy` trait bound could be satisfied
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let slice = &mut <MaybeUninit<A> as Clone>::clone(&self.aux_buffer).assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                              ++++++++++++++++++++++++++++++++++               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> benches/main.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[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] 50 |             for (index, item) in self.buffer.iter().enumerate() {
[INFO] [stdout] 51 |                 slice[index] = item.clone();
[INFO] [stdout]    |                 ------------ borrow later used here
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function `MaybeUninit::<T>::assume_init` is unsafe and requires unsafe function or block
[INFO] [stdout]   --> benches/main.rs:79:26
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.aux_buffer` which is behind a mutable reference
[INFO] [stdout]   --> benches/main.rs:79:26
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^ ------------- `self.aux_buffer` moved due to this method call
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          move occurs because `self.aux_buffer` has type `MaybeUninit<A>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `MaybeUninit::<T>::assume_init` takes ownership of the receiver `self`, which moves `self.aux_buffer`
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/core/src/mem/maybe_uninit.rs:631:37
[INFO] [stdout] help: you could `clone` the value and consume it, if the `A: Copy` trait bound could be satisfied
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let slice = &mut <MaybeUninit<A> as Clone>::clone(&self.aux_buffer).assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                          ++++++++++++++++++++++++++++++++++               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]   --> benches/main.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                          ----------------------------- temporary value created here
[INFO] [stdout] 80 |         if low == high {
[INFO] [stdout] 81 |             &slice[low]
[INFO] [stdout]    |             ^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0133, E0507, E0515, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `median` (bench "main") due to 6 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "96465dba52c022519d38f922bd3a97f7d5142cb27b67ebba7be9b6392e064cfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96465dba52c022519d38f922bd3a97f7d5142cb27b67ebba7be9b6392e064cfb", kill_on_drop: false }`
[INFO] [stdout] 96465dba52c022519d38f922bd3a97f7d5142cb27b67ebba7be9b6392e064cfb
