[INFO] cloning repository https://github.com/mahanfarzaneh2000/paradome [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahanfarzaneh2000/paradome" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahanfarzaneh2000%2Fparadome", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahanfarzaneh2000%2Fparadome'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7335efa383f4c7e4cbf8de6bc2ca7a662c6f3d69 [INFO] checking mahanfarzaneh2000/paradome against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahanfarzaneh2000%2Fparadome" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mahanfarzaneh2000/paradome 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/mahanfarzaneh2000/paradome [INFO] finished tweaking git repo https://github.com/mahanfarzaneh2000/paradome [INFO] tweaked toml for git repo https://github.com/mahanfarzaneh2000/paradome written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mahanfarzaneh2000/paradome 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_users v0.4.2 [INFO] [stderr] Downloaded rustix v0.34.1 [INFO] [stderr] Downloaded rustyline v9.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 116cedaa9ddf0479454087b71da12dbc2c9e95a11fd1403c87e061342ca2bf3f [INFO] running `Command { std: "docker" "start" "-a" "116cedaa9ddf0479454087b71da12dbc2c9e95a11fd1403c87e061342ca2bf3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "116cedaa9ddf0479454087b71da12dbc2c9e95a11fd1403c87e061342ca2bf3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "116cedaa9ddf0479454087b71da12dbc2c9e95a11fd1403c87e061342ca2bf3f", kill_on_drop: false }` [INFO] [stdout] 116cedaa9ddf0479454087b71da12dbc2c9e95a11fd1403c87e061342ca2bf3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] da3fd5030ca6d3ad1993ec5336eaaf0123cce39eaa6aea69f0cebb19157d2c4e [INFO] running `Command { std: "docker" "start" "-a" "da3fd5030ca6d3ad1993ec5336eaaf0123cce39eaa6aea69f0cebb19157d2c4e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling io-lifetimes v0.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling rustix v0.34.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking linux-raw-sys v0.0.42 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking fd-lock v3.0.5 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Checking paradome v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::Config` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::Config` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/shell.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `memory_buffer_size`, `page_size`, `deallocation_policy`, `system_cashing`, and `db_path` are never read [INFO] [stdout] --> src/config.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | memory_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | page_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | deallocation_policy: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | system_cashing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | db_path: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/config.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn create() -> Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_config` is never used [INFO] [stdout] --> src/config.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn load_config() -> Config { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_config` is never used [INFO] [stdout] --> src/config.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn parse_config(content: String) -> Config{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/storage/storage_manager.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const PAGE_SIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorageManager` is never constructed [INFO] [stdout] --> src/storage/storage_manager.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct StorageManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `collect` and `append_page` are never used [INFO] [stdout] --> src/storage/storage_manager.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl StorageManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 18 | fn collect(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn append_page(mut self) -> Result<(),Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/shell.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `memory_buffer_size`, `page_size`, `deallocation_policy`, `system_cashing`, and `db_path` are never read [INFO] [stdout] --> src/config.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | memory_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | page_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | deallocation_policy: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | system_cashing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | db_path: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/config.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn create() -> Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_config` is never used [INFO] [stdout] --> src/config.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn load_config() -> Config { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_config` is never used [INFO] [stdout] --> src/config.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn parse_config(content: String) -> Config{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dictionary` and `file` are never read [INFO] [stdout] --> src/storage/storage_manager.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct StorageManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | dictionary: [u8; PAGE_SIZE], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | file: fs::File, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `append_page` is never used [INFO] [stdout] --> src/storage/storage_manager.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl StorageManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn append_page(mut self) -> Result<(),Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.05s [INFO] running `Command { std: "docker" "inspect" "da3fd5030ca6d3ad1993ec5336eaaf0123cce39eaa6aea69f0cebb19157d2c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3fd5030ca6d3ad1993ec5336eaaf0123cce39eaa6aea69f0cebb19157d2c4e", kill_on_drop: false }` [INFO] [stdout] da3fd5030ca6d3ad1993ec5336eaaf0123cce39eaa6aea69f0cebb19157d2c4e