[INFO] cloning repository https://github.com/philopaterwaheed/fileio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philopaterwaheed/fileio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilopaterwaheed%2Ffileio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilopaterwaheed%2Ffileio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6b327535a334f2fe08ac7e78afdfc895e0b8a57 [INFO] checking philopaterwaheed/fileio against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilopaterwaheed%2Ffileio" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/philopaterwaheed/fileio on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/philopaterwaheed/fileio [INFO] finished tweaking git repo https://github.com/philopaterwaheed/fileio [INFO] tweaked toml for git repo https://github.com/philopaterwaheed/fileio written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/philopaterwaheed/fileio 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd83120c8d8068a89c0ce9143779769a5f2a204dbc55e98466593c54d3503721 [INFO] running `Command { std: "docker" "start" "-a" "cd83120c8d8068a89c0ce9143779769a5f2a204dbc55e98466593c54d3503721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd83120c8d8068a89c0ce9143779769a5f2a204dbc55e98466593c54d3503721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd83120c8d8068a89c0ce9143779769a5f2a204dbc55e98466593c54d3503721", kill_on_drop: false }` [INFO] [stdout] cd83120c8d8068a89c0ce9143779769a5f2a204dbc55e98466593c54d3503721 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c59aa1791333573b9aff7485c2871d365e57e739de0b2b8027e8cb06a97e120 [INFO] running `Command { std: "docker" "start" "-a" "4c59aa1791333573b9aff7485c2871d365e57e739de0b2b8027e8cb06a97e120", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking ratatui v0.26.1 [INFO] [stderr] Checking fileio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `file` should have an upper camel case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | file(files::File), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `File` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dir` should have an upper camel case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | dir(dirs::Directory), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `file` should have an upper camel case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | file(files::File), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `File` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dir` should have an upper camel case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | dir(dirs::Directory), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/Files.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn File(path:&Path){} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/Files.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn File(path:&Path){} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut input_string = &mut String::new(); // the string the user will enter [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/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut buffer_vec: &mut Vec<(Entry, bool)> = &mut Vec::new(); // the copy and paste buffer [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut input_string = &mut String::new(); // the string the user will enter [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/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut buffer_vec: &mut Vec<(Entry, bool)> = &mut Vec::new(); // the copy and paste buffer [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_name` [INFO] [stdout] --> src/main.rs:681:17 [INFO] [stdout] | [INFO] [stdout] 681 | let entry_name = entry.file_name().into_string().ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `perm_ch` is never used [INFO] [stdout] --> src/Dirs.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 16 | impl Directory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn perm_ch(&self, permissions: u32) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_env_dir` is never used [INFO] [stdout] --> src/Dirs.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn change_env_dir(dir: Directory) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `File` and `perm_ch` are never used [INFO] [stdout] --> src/Files.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 11 | impl File { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 12 | pub fn File(path:&Path){} [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn perm_ch(&self, permissions: u32) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Dirs` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Dirs; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dirs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Files` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Files; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `File` should have a snake case name [INFO] [stdout] --> src/Files.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn File(path:&Path){} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_name` [INFO] [stdout] --> src/main.rs:681:17 [INFO] [stdout] | [INFO] [stdout] 681 | let entry_name = entry.file_name().into_string().ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `perm_ch` is never used [INFO] [stdout] --> src/Dirs.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 16 | impl Directory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn perm_ch(&self, permissions: u32) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_env_dir` is never used [INFO] [stdout] --> src/Dirs.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn change_env_dir(dir: Directory) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `File` and `perm_ch` are never used [INFO] [stdout] --> src/Files.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 11 | impl File { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 12 | pub fn File(path:&Path){} [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn perm_ch(&self, permissions: u32) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Dirs` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Dirs; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dirs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Files` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Files; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `File` should have a snake case name [INFO] [stdout] --> src/Files.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn File(path:&Path){} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.10s [INFO] running `Command { std: "docker" "inspect" "4c59aa1791333573b9aff7485c2871d365e57e739de0b2b8027e8cb06a97e120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c59aa1791333573b9aff7485c2871d365e57e739de0b2b8027e8cb06a97e120", kill_on_drop: false }` [INFO] [stdout] 4c59aa1791333573b9aff7485c2871d365e57e739de0b2b8027e8cb06a97e120