[INFO] cloning repository https://github.com/ExpoInf/WizardFilesystem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ExpoInf/WizardFilesystem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExpoInf%2FWizardFilesystem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExpoInf%2FWizardFilesystem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5bf74941218e025b0956fc645011507077479c6 [INFO] checking ExpoInf/WizardFilesystem against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FExpoInf%2FWizardFilesystem" "/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/ExpoInf/WizardFilesystem [INFO] finished tweaking git repo https://github.com/ExpoInf/WizardFilesystem [INFO] tweaked toml for git repo https://github.com/ExpoInf/WizardFilesystem written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ExpoInf/WizardFilesystem on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ExpoInf/WizardFilesystem 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded zerocopy-derive v0.9.0-alpha.0 [INFO] [stderr] Downloaded page_size v0.6.0 [INFO] [stderr] Downloaded vfs v0.12.2 [INFO] [stderr] Downloaded fuser v0.16.0 [INFO] [stderr] Downloaded zerocopy v0.9.0-alpha.0 [INFO] [stderr] Downloaded libc v1.0.0-alpha.2 [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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97b12ecf061342ee603aefbd2121fb3741ac507f759b0bb32f8c20ef86015c89 [INFO] running `Command { std: "docker" "start" "-a" "97b12ecf061342ee603aefbd2121fb3741ac507f759b0bb32f8c20ef86015c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97b12ecf061342ee603aefbd2121fb3741ac507f759b0bb32f8c20ef86015c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97b12ecf061342ee603aefbd2121fb3741ac507f759b0bb32f8c20ef86015c89", kill_on_drop: false }` [INFO] [stdout] 97b12ecf061342ee603aefbd2121fb3741ac507f759b0bb32f8c20ef86015c89 [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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2405580a17bc5a22a14770484b0387bd1c8a32299c99ad0435de1b28472ddf07 [INFO] running `Command { std: "docker" "start" "-a" "2405580a17bc5a22a14770484b0387bd1c8a32299c99ad0435de1b28472ddf07", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling libc v1.0.0-alpha.2 [INFO] [stderr] Compiling zerocopy v0.9.0-alpha.0 [INFO] [stderr] Compiling fuser v0.16.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking vfs v0.12.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.33 [INFO] [stderr] Compiling zerocopy-derive v0.9.0-alpha.0 [INFO] [stderr] Checking WizardFS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `WizardFS` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `wizard_fs` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReplyData` and `ReplyDirectory` [INFO] [stdout] --> src/main.rs:2:69 [INFO] [stdout] | [INFO] [stdout] 2 | use fuser::{FileAttr, FileType, Filesystem, MountOption, ReplyAttr, ReplyData, ReplyDirectory, Request,}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockDevice` and `DirEntry` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use WizardFS::{BlockDevice, Inode, Superblock, BLOCK_SIZE, DirEntry}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReplyData` and `ReplyDirectory` [INFO] [stdout] --> src/main.rs:2:69 [INFO] [stdout] | [INFO] [stdout] 2 | use fuser::{FileAttr, FileType, Filesystem, MountOption, ReplyAttr, ReplyData, ReplyDirectory, Request,}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockDevice` and `DirEntry` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use WizardFS::{BlockDevice, Inode, Superblock, BLOCK_SIZE, DirEntry}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zero_block` [INFO] [stdout] --> src/bin/mkfs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let zero_block = [0u8; BLOCK_SIZE as usize]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zero_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zero_block` [INFO] [stdout] --> src/bin/mkfs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let zero_block = [0u8; BLOCK_SIZE as usize]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zero_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zerocopy::FromBytes::read_from`: renamed to `FromBytes::read_from_bytes` [INFO] [stdout] --> src/main.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | Inode::read_from(&buffer[..]).ok_or(libc::EIO) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zerocopy::FromBytes::read_from`: renamed to `FromBytes::read_from_bytes` [INFO] [stdout] --> src/main.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let sb = Superblock::read_from(&sb_buf[..]).expect("Invalid superblock"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zerocopy::FromBytes::read_from`: renamed to `FromBytes::read_from_bytes` [INFO] [stdout] --> src/main.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | Inode::read_from(&buffer[..]).ok_or(libc::EIO) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let mut file = OpenOptions::new() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `superblock` is never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct WizardFileSystem { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | disk: File, [INFO] [stdout] 17 | superblock: Superblock, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zerocopy::FromBytes::read_from`: renamed to `FromBytes::read_from_bytes` [INFO] [stdout] --> src/main.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let sb = Superblock::read_from(&sb_buf[..]).expect("Invalid superblock"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let mut file = OpenOptions::new() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `superblock` is never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct WizardFileSystem { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | disk: File, [INFO] [stdout] 17 | superblock: Superblock, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.88s [INFO] running `Command { std: "docker" "inspect" "2405580a17bc5a22a14770484b0387bd1c8a32299c99ad0435de1b28472ddf07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2405580a17bc5a22a14770484b0387bd1c8a32299c99ad0435de1b28472ddf07", kill_on_drop: false }` [INFO] [stdout] 2405580a17bc5a22a14770484b0387bd1c8a32299c99ad0435de1b28472ddf07