[INFO] fetching crate slitter 0.1.0... [INFO] checking slitter-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate slitter 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate slitter 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded contracts v0.6.3 [INFO] [stderr] Downloaded disabled_contracts v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1cb00f487c3e83abd9e362222884415f462de79061c00b4567caad5e4c501a2 [INFO] running `Command { std: "docker" "start" "-a" "e1cb00f487c3e83abd9e362222884415f462de79061c00b4567caad5e4c501a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1cb00f487c3e83abd9e362222884415f462de79061c00b4567caad5e4c501a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1cb00f487c3e83abd9e362222884415f462de79061c00b4567caad5e4c501a2", kill_on_drop: false }` [INFO] [stdout] e1cb00f487c3e83abd9e362222884415f462de79061c00b4567caad5e4c501a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1986f84d0badd73143747abf6af9e259d290825f4ba47c3bc25241fceb64143a [INFO] running `Command { std: "docker" "start" "-a" "1986f84d0badd73143747abf6af9e259d290825f4ba47c3bc25241fceb64143a", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slitter v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling disabled_contracts v0.1.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling contracts v0.6.3 [INFO] [stderr] Checking bit-set v0.5.3 [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 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] warning: slitter@0.1.0: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] warning: slitter@0.1.0: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [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] [stderr] Checking proptest v1.4.0 [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: 5 warnings emitted [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] [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; 2 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] warning: slitter@0.1.0: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] warning: slitter@0.1.0: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] [INFO] [stderr] error: could not compile `slitter` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1986f84d0badd73143747abf6af9e259d290825f4ba47c3bc25241fceb64143a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1986f84d0badd73143747abf6af9e259d290825f4ba47c3bc25241fceb64143a", kill_on_drop: false }` [INFO] [stdout] 1986f84d0badd73143747abf6af9e259d290825f4ba47c3bc25241fceb64143a [INFO] checking slitter-0.1.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate slitter 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate slitter 0.1.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9013cead7c0ec96ce2871126f341642dbf8ff3afe70e451ed9860c42fd7154ea [INFO] running `Command { std: "docker" "start" "-a" "9013cead7c0ec96ce2871126f341642dbf8ff3afe70e451ed9860c42fd7154ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9013cead7c0ec96ce2871126f341642dbf8ff3afe70e451ed9860c42fd7154ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9013cead7c0ec96ce2871126f341642dbf8ff3afe70e451ed9860c42fd7154ea", kill_on_drop: false }` [INFO] [stdout] 9013cead7c0ec96ce2871126f341642dbf8ff3afe70e451ed9860c42fd7154ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6d6f3ef244945316c2a0a0409937dcfebd6d4390b4fe08f8be15e8649ca32fe [INFO] running `Command { std: "docker" "start" "-a" "a6d6f3ef244945316c2a0a0409937dcfebd6d4390b4fe08f8be15e8649ca32fe", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "a6d6f3ef244945316c2a0a0409937dcfebd6d4390b4fe08f8be15e8649ca32fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d6f3ef244945316c2a0a0409937dcfebd6d4390b4fe08f8be15e8649ca32fe", kill_on_drop: false }` [INFO] [stdout] a6d6f3ef244945316c2a0a0409937dcfebd6d4390b4fe08f8be15e8649ca32fe