[INFO] fetching crate slitter 0.1.0... [INFO] checking slitter-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate slitter 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate slitter 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate slitter 0.1.0 [INFO] finished tweaking crates.io crate slitter 0.1.0 [INFO] tweaked toml for crates.io crate slitter 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 53 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded disabled_contracts v0.1.0 [INFO] [stderr] Downloaded contracts v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65fdcc802ca8b4b74dec17a130b4acbb76ad2439ac2f37efbc44021cab8c74bb [INFO] running `Command { std: "docker" "start" "-a" "65fdcc802ca8b4b74dec17a130b4acbb76ad2439ac2f37efbc44021cab8c74bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65fdcc802ca8b4b74dec17a130b4acbb76ad2439ac2f37efbc44021cab8c74bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65fdcc802ca8b4b74dec17a130b4acbb76ad2439ac2f37efbc44021cab8c74bb", kill_on_drop: false }` [INFO] [stdout] 65fdcc802ca8b4b74dec17a130b4acbb76ad2439ac2f37efbc44021cab8c74bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0fd6c8e94b3d3104c60496d0b4ae1f4589da9bbb209face994e83c66f67ed96 [INFO] running `Command { std: "docker" "start" "-a" "a0fd6c8e94b3d3104c60496d0b4ae1f4589da9bbb209face994e83c66f67ed96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Compiling disabled_contracts v0.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling slitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] warning: slitter@0.1.0: cargo:rustc-cdylib-link-arg was specified in the build script of slitter v0.1.0 (/opt/rustwide/workdir), but that package does not contain a cdylib target [INFO] [stderr] [INFO] [stderr] Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see . [INFO] [stderr] warning: slitter@0.1.0: cargo:rustc-cdylib-link-arg was specified in the build script of slitter v0.1.0 (/opt/rustwide/workdir), but that package does not contain a cdylib target [INFO] [stderr] [INFO] [stderr] Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see . [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/cache.rs:433:15 [INFO] [stdout] | [INFO] [stdout] 433 | #[cfg(features = "c_fast_path")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 433 | #[cfg(feature = "c_fast_path")] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/cache.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | #[cfg(not(features = "c_fast_path"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 435 | #[cfg(not(feature = "c_fast_path"))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/cache.rs:492:15 [INFO] [stdout] | [INFO] [stdout] 492 | #[cfg(features = "c_fast_path")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 492 | #[cfg(feature = "c_fast_path")] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/cache.rs:494:19 [INFO] [stdout] | [INFO] [stdout] 494 | #[cfg(not(features = "c_fast_path"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 494 | #[cfg(not(feature = "c_fast_path"))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/magazine_impl.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | #[cfg(features = "c_fast_path")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 263 | #[cfg(feature = "c_fast_path")] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/magazine_impl.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(features = "c_fast_path"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(feature = "c_fast_path"))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/magazine_impl.rs:340:15 [INFO] [stdout] | [INFO] [stdout] 340 | #[cfg(features = "c_fast_path")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 340 | #[cfg(feature = "c_fast_path")] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/magazine_impl.rs:342:19 [INFO] [stdout] | [INFO] [stdout] 342 | #[cfg(not(features = "c_fast_path"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 342 | #[cfg(not(feature = "c_fast_path"))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mill::GUARD_PAGE_SIZE` [INFO] [stdout] --> src/mapper.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use crate::mill::GUARD_PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> src/class.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct ClassInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 56 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub id: Class, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_end` is never read [INFO] [stdout] --> src/mill.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 242 | struct AllocatedChunk<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 250 | pub data_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllocatedChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/cache.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { Box::from_raw(dummy) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { let _ = Box::from_raw(dummy); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/cache.rs:349:22 [INFO] [stdout] | [INFO] [stdout] 349 | unsafe { Box::from_raw(new_slice) }; [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] 349 | unsafe { let _ = Box::from_raw(new_slice); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Compiling contracts v0.6.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/cache.rs:433:15 [INFO] [stdout] | [INFO] [stdout] 433 | #[cfg(features = "c_fast_path")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 433 | #[cfg(feature = "c_fast_path")] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/cache.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | #[cfg(not(features = "c_fast_path"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 435 | #[cfg(not(feature = "c_fast_path"))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/cache.rs:492:15 [INFO] [stdout] | [INFO] [stdout] 492 | #[cfg(features = "c_fast_path")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 492 | #[cfg(feature = "c_fast_path")] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/cache.rs:494:19 [INFO] [stdout] | [INFO] [stdout] 494 | #[cfg(not(features = "c_fast_path"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 494 | #[cfg(not(feature = "c_fast_path"))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/magazine_impl.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | #[cfg(features = "c_fast_path")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 263 | #[cfg(feature = "c_fast_path")] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/magazine_impl.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(features = "c_fast_path"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 265 | #[cfg(not(feature = "c_fast_path"))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/magazine_impl.rs:340:15 [INFO] [stdout] | [INFO] [stdout] 340 | #[cfg(features = "c_fast_path")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 340 | #[cfg(feature = "c_fast_path")] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/magazine_impl.rs:342:19 [INFO] [stdout] | [INFO] [stdout] 342 | #[cfg(not(features = "c_fast_path"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 342 | #[cfg(not(feature = "c_fast_path"))] [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/cache.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | #[invariant(self.check_rep_or_err().is_ok(), "Internal invariants hold.")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 211 | assert!(self.per_class_info.is_empty()); [INFO] [stdout] | ------------------- first borrow occurs due to use of `self` in closure [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `invariant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/mill.rs:497:43 [INFO] [stdout] | [INFO] [stdout] 497 | #[invariant(debug_arange_map::is_data(self.data as usize, DATA_ALIGNMENT).is_ok(), [INFO] [stdout] | ^^^^^^^^^ value used here after move [INFO] [stdout] 498 | "The data region is marked as such.")] [INFO] [stdout] 499 | fn commit(self) -> Result<(), i32> { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | value moved here [INFO] [stdout] | move occurs because `self` has type `AllocatedChunk<'_>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `AllocatedChunk<'_>` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/mill.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | struct AllocatedChunk<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 499 | fn commit(self) -> Result<(), i32> { [INFO] [stdout] | ---- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/debug_allocation_map.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut info = map [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/debug_allocation_map.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut info = map [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: slitter@0.1.0: cargo:rustc-cdylib-link-arg was specified in the build script of slitter v0.1.0 (/opt/rustwide/workdir), but that package does not contain a cdylib target [INFO] [stderr] [INFO] [stderr] Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see . [INFO] [stderr] warning: slitter@0.1.0: cargo:rustc-cdylib-link-arg was specified in the build script of slitter v0.1.0 (/opt/rustwide/workdir), but that package does not contain a cdylib target [INFO] [stderr] [INFO] [stderr] Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see . [INFO] [stderr] [INFO] [stderr] error: could not compile `slitter` (lib test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a0fd6c8e94b3d3104c60496d0b4ae1f4589da9bbb209face994e83c66f67ed96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0fd6c8e94b3d3104c60496d0b4ae1f4589da9bbb209face994e83c66f67ed96", kill_on_drop: false }` [INFO] [stdout] a0fd6c8e94b3d3104c60496d0b4ae1f4589da9bbb209face994e83c66f67ed96