[INFO] cloning repository https://github.com/ricardo0129/fs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ricardo0129/fs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricardo0129%2Ffs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricardo0129%2Ffs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bde9bf8cdb4a81d44487953e3ce078d9286d9549 [INFO] building ricardo0129/fs against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricardo0129%2Ffs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ricardo0129/fs on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ricardo0129/fs [INFO] finished tweaking git repo https://github.com/ricardo0129/fs [INFO] tweaked toml for git repo https://github.com/ricardo0129/fs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ricardo0129/fs 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34936d534ac8be860875b2823ad83efcc5aa2b98e37e426ca1a7641be3ae182c [INFO] running `Command { std: "docker" "start" "-a" "34936d534ac8be860875b2823ad83efcc5aa2b98e37e426ca1a7641be3ae182c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34936d534ac8be860875b2823ad83efcc5aa2b98e37e426ca1a7641be3ae182c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34936d534ac8be860875b2823ad83efcc5aa2b98e37e426ca1a7641be3ae182c", kill_on_drop: false }` [INFO] [stdout] 34936d534ac8be860875b2823ad83efcc5aa2b98e37e426ca1a7641be3ae182c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94889e6f76ac225b8c100a0f7ca7ec56c025fce699ecabd6df514429ddd1bec7 [INFO] running `Command { std: "docker" "start" "-a" "94889e6f76ac225b8c100a0f7ca7ec56c025fce699ecabd6df514429ddd1bec7", kill_on_drop: false }` [INFO] [stderr] Compiling fs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/string_ds.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn contains(&self, word: &String) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/tree.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let root = self; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/tree.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | fn insert(&mut self, p: Page) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_page` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn add_page() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `menu` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn menu() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/page.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 19 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wordlist` is never constructed [INFO] [stdout] --> src/string_ds.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Wordlist {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `contains`, and `remove` are never used [INFO] [stdout] --> src/string_ds.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Wordlist { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 4 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn add(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn contains(&self, word: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn remove(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/tree.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/tree.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn insert(&mut self, p: Page) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `attr_index` are never used [INFO] [stdout] --> src/tree.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 30 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn attr_index(&mut self, attr: &String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "94889e6f76ac225b8c100a0f7ca7ec56c025fce699ecabd6df514429ddd1bec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94889e6f76ac225b8c100a0f7ca7ec56c025fce699ecabd6df514429ddd1bec7", kill_on_drop: false }` [INFO] [stdout] 94889e6f76ac225b8c100a0f7ca7ec56c025fce699ecabd6df514429ddd1bec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c0dbf413ab2df163746168c9c3258b5500b49e830965bed9044baf2df452769 [INFO] running `Command { std: "docker" "start" "-a" "0c0dbf413ab2df163746168c9c3258b5500b49e830965bed9044baf2df452769", kill_on_drop: false }` [INFO] [stderr] Compiling fs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/string_ds.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn contains(&self, word: &String) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/tree.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let root = self; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/tree.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | fn insert(&mut self, p: Page) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_page` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn add_page() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `menu` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn menu() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/page.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 19 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wordlist` is never constructed [INFO] [stdout] --> src/string_ds.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Wordlist {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `contains`, and `remove` are never used [INFO] [stdout] --> src/string_ds.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Wordlist { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 4 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn add(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn contains(&self, word: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn remove(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/tree.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/tree.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn insert(&mut self, p: Page) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `attr_index` are never used [INFO] [stdout] --> src/tree.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 30 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn attr_index(&mut self, attr: &String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "0c0dbf413ab2df163746168c9c3258b5500b49e830965bed9044baf2df452769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0dbf413ab2df163746168c9c3258b5500b49e830965bed9044baf2df452769", kill_on_drop: false }` [INFO] [stdout] 0c0dbf413ab2df163746168c9c3258b5500b49e830965bed9044baf2df452769