[INFO] cloning repository https://github.com/krl/landfill [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krl/landfill" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrl%2Flandfill", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrl%2Flandfill'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44db95a13ee3dd063bf5e83ce3d22ea39d7d14a6 [INFO] testing krl/landfill against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrl%2Flandfill" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/krl/landfill [INFO] finished tweaking git repo https://github.com/krl/landfill [INFO] tweaked toml for git repo https://github.com/krl/landfill written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krl/landfill on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/krl/landfill 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.6.0 [INFO] [stderr] Downloaded quote v1.0.31 [INFO] [stderr] Downloaded bytemuck_derive v1.4.1 [INFO] [stderr] Downloaded rustix v0.37.22 [INFO] [stderr] Downloaded syn v2.0.26 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d98cb3ad7f28641d3feb456669f9fbf9a9ae83d69be520a117df25391548f8a0 [INFO] running `Command { std: "docker" "start" "-a" "d98cb3ad7f28641d3feb456669f9fbf9a9ae83d69be520a117df25391548f8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d98cb3ad7f28641d3feb456669f9fbf9a9ae83d69be520a117df25391548f8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98cb3ad7f28641d3feb456669f9fbf9a9ae83d69be520a117df25391548f8a0", kill_on_drop: false }` [INFO] [stdout] d98cb3ad7f28641d3feb456669f9fbf9a9ae83d69be520a117df25391548f8a0 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a34638635d5c3bd6b08995a15630fb5d2f8e94c40524ea877791435670c9b8f [INFO] running `Command { std: "docker" "start" "-a" "1a34638635d5c3bd6b08995a15630fb5d2f8e94c40524ea877791435670c9b8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling memmap2 v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bytemuck_derive v1.4.1 [INFO] [stderr] Compiling landfill v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/storage/entropy.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / /// A once-initialized file carrying pseudorandom data [INFO] [stdout] 13 | | /// [INFO] [stdout] 14 | | /// This can be used to have a persistant source of entropy, that will be [INFO] [stdout] 15 | | /// the same each time the database is opened, but differ between databases [INFO] [stdout] ... | [INFO] [stdout] 19 | | #[derive(Clone, Copy, Zeroable, Pod, Debug)] [INFO] [stdout] 20 | | pub struct Entropy([u64; 4]); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/storage/entropy.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Entropy([u64; 4]); [INFO] [stdout] | ^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/storage/entropy.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / /// A Tag that can be used to loosely identify this specific instantiation of [INFO] [stdout] 23 | | /// entropy. [INFO] [stdout] 24 | | #[repr(C)] [INFO] [stdout] 25 | | #[derive(Clone, Copy, PartialEq, Eq, Zeroable, Pod)] [INFO] [stdout] 26 | | pub struct Tag(u32); [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/storage/entropy.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Tag(u32); [INFO] [stdout] | ^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/storage/journal.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / #[repr(C, packed)] [INFO] [stdout] 17 | | struct JournalEntry { [INFO] [stdout] 18 | | checksum: u64, [INFO] [stdout] 19 | | value: T, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structures/oncemap.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Entry { [INFO] [stdout] | ^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/structures/oncemap.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / #[repr(C)] [INFO] [stdout] 12 | | #[derive(Clone, Copy, Pod, Zeroable)] [INFO] [stdout] 13 | | struct Entry { [INFO] [stdout] 14 | | k_ofs: u64, [INFO] [stdout] 15 | | v_ofs_relative: u32, [INFO] [stdout] 16 | | tag: u32, [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structures/content.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Entry { [INFO] [stdout] | ^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/structures/content.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / #[repr(C)] [INFO] [stdout] 11 | | #[derive(Clone, Copy, Pod, Zeroable)] [INFO] [stdout] 12 | | struct Entry { [INFO] [stdout] 13 | | ofs: u64, [INFO] [stdout] 14 | | len: u32, [INFO] [stdout] 15 | | tag: u32, [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structures/content.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ContentId([u8; 32]); [INFO] [stdout] | ^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/structures/content.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #[repr(C)] [INFO] [stdout] 19 | | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Pod, Zeroable)] [INFO] [stdout] 20 | | pub struct ContentId([u8; 32]); [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/randomaccess.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get(&self, index: usize) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get(&self, index: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/disk/mod.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | unsafe { &(*self.map.get())[..] } [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/mod.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | unsafe { &(*self.map.get())[..] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] 307 | unsafe { &(&(*self.map.get()))[..] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `landfill` (lib) due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1a34638635d5c3bd6b08995a15630fb5d2f8e94c40524ea877791435670c9b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a34638635d5c3bd6b08995a15630fb5d2f8e94c40524ea877791435670c9b8f", kill_on_drop: false }` [INFO] [stdout] 1a34638635d5c3bd6b08995a15630fb5d2f8e94c40524ea877791435670c9b8f