[INFO] fetching crate disk-chan 0.3.0... [INFO] testing disk-chan-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate disk-chan 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate disk-chan 0.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate disk-chan 0.3.0 [INFO] tweaked toml for crates.io crate disk-chan 0.3.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate disk-chan 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate disk-chan 0.3.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base62 v2.2.1 [INFO] [stderr] Downloaded const-str v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6046a7ce8efbff2e81478d5cbc41e330fdf2d6c6dc9c5e8def6ef1f936aee14b [INFO] running `Command { std: "docker" "start" "-a" "6046a7ce8efbff2e81478d5cbc41e330fdf2d6c6dc9c5e8def6ef1f936aee14b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6046a7ce8efbff2e81478d5cbc41e330fdf2d6c6dc9c5e8def6ef1f936aee14b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6046a7ce8efbff2e81478d5cbc41e330fdf2d6c6dc9c5e8def6ef1f936aee14b", kill_on_drop: false }` [INFO] [stdout] 6046a7ce8efbff2e81478d5cbc41e330fdf2d6c6dc9c5e8def6ef1f936aee14b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 366d531212c541e1e6a313fa26fa2221348f20134e7b45f9239229296b8791b5 [INFO] running `Command { std: "docker" "start" "-a" "366d531212c541e1e6a313fa26fa2221348f20134e7b45f9239229296b8791b5", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling atomic-wait v1.1.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling base62 v2.2.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling disk-chan v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/disk_chan_page.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { (*self.inner.get()).len() - size_of::>() } [INFO] [stdout] | ^^----------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut MmapMut` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/disk_chan_page.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { (*self.inner.get()).len() - size_of::>() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { (&(*self.inner.get())).len() - size_of::>() } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `disk-chan` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "366d531212c541e1e6a313fa26fa2221348f20134e7b45f9239229296b8791b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "366d531212c541e1e6a313fa26fa2221348f20134e7b45f9239229296b8791b5", kill_on_drop: false }` [INFO] [stdout] 366d531212c541e1e6a313fa26fa2221348f20134e7b45f9239229296b8791b5