[INFO] cloning repository https://github.com/Congee/hunt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Congee/hunt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCongee%2Fhunt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCongee%2Fhunt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6be33058d6bb7f5fa55d7f3b93050ce0e75b748 [INFO] testing Congee/hunt against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCongee%2Fhunt" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Congee/hunt on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Congee/hunt [INFO] finished tweaking git repo https://github.com/Congee/hunt [INFO] tweaked toml for git repo https://github.com/Congee/hunt written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Congee/hunt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fe54845ff87805b7cbdb84ca4c3f66b6f9011cf7040f6facd6948dcfc575ebb [INFO] running `Command { std: "docker" "start" "-a" "4fe54845ff87805b7cbdb84ca4c3f66b6f9011cf7040f6facd6948dcfc575ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fe54845ff87805b7cbdb84ca4c3f66b6f9011cf7040f6facd6948dcfc575ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe54845ff87805b7cbdb84ca4c3f66b6f9011cf7040f6facd6948dcfc575ebb", kill_on_drop: false }` [INFO] [stdout] 4fe54845ff87805b7cbdb84ca4c3f66b6f9011cf7040f6facd6948dcfc575ebb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac0c662b03866ecaa158cf07a7ec6dc95ac36ecf263b29d369161d46f853b0bf [INFO] running `Command { std: "docker" "start" "-a" "ac0c662b03866ecaa158cf07a7ec6dc95ac36ecf263b29d369161d46f853b0bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling zstd-safe v4.1.1+zstd.1.5.0 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling zstd-sys v1.6.1+zstd.1.5.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling zstd v0.9.0+zstd.1.5.0 [INFO] [stderr] Compiling hunt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/dfa.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/store.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | for ch in line.chars() {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | path: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn print(path: T) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_event` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn handle_event(ev: &Event) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn run() -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prepare_fd` [INFO] [stdout] --> src/fanotify.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn prepare_fd>(__path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BATCH` [INFO] [stdout] --> src/fanotify.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | const BATCH: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Metadata` [INFO] [stdout] --> src/fanotify.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | type Metadata = libc::fanotify_event_metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FAN_EVENT_METADATA_LEN` [INFO] [stdout] --> src/fanotify.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | const FAN_EVENT_METADATA_LEN: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_metadata` [INFO] [stdout] --> src/fanotify.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn handle_metadata(buf: *const Metadata, tx: &Sender) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `poll` [INFO] [stdout] --> src/fanotify.rs:152:15 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe fn poll(fd: libc::c_int, tx: &Sender) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Create` [INFO] [stdout] --> src/fanotify.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | Create(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fanotify.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Delete` [INFO] [stdout] --> src/fanotify.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | Delete(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fanotify.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Move` [INFO] [stdout] --> src/fanotify.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | Move(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fanotify.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Trie` [INFO] [stdout] --> src/store.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Trie { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/store.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn from(&self, lines: impl Iterator) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_line` [INFO] [stdout] --> src/store.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn insert_line(&self, line: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `State` [INFO] [stdout] --> src/dfa.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct State(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Symbol` [INFO] [stdout] --> src/dfa.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Symbol(String); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Dfa` [INFO] [stdout] --> src/dfa.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Dfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `S0` [INFO] [stdout] --> src/dfa.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | S0, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MyState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dfa.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `S1` [INFO] [stdout] --> src/dfa.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | S1, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MyState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dfa.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `S2` [INFO] [stdout] --> src/dfa.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | S2, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `MyState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dfa.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Hash, PartialEq, Eq, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Zero` [INFO] [stdout] --> src/dfa.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Zero, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `One` [INFO] [stdout] --> src/dfa.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | One, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dfa.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `accepts` [INFO] [stdout] --> src/dfa.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn accepts(&self, input: &[MySymbol]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | send.join(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | recv.join(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.61s [INFO] running `Command { std: "docker" "inspect" "ac0c662b03866ecaa158cf07a7ec6dc95ac36ecf263b29d369161d46f853b0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0c662b03866ecaa158cf07a7ec6dc95ac36ecf263b29d369161d46f853b0bf", kill_on_drop: false }` [INFO] [stdout] ac0c662b03866ecaa158cf07a7ec6dc95ac36ecf263b29d369161d46f853b0bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fb9b1304d4f02d58ec6a640f4818e2df3a28ca4951cd54e7ef47625718ea586 [INFO] running `Command { std: "docker" "start" "-a" "0fb9b1304d4f02d58ec6a640f4818e2df3a28ca4951cd54e7ef47625718ea586", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling hunt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/dfa.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/store.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | for ch in line.chars() {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | path: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn print(path: T) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_event` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn handle_event(ev: &Event) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn run() -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prepare_fd` [INFO] [stdout] --> src/fanotify.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn prepare_fd>(__path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BATCH` [INFO] [stdout] --> src/fanotify.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | const BATCH: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Metadata` [INFO] [stdout] --> src/fanotify.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | type Metadata = libc::fanotify_event_metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FAN_EVENT_METADATA_LEN` [INFO] [stdout] --> src/fanotify.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | const FAN_EVENT_METADATA_LEN: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_metadata` [INFO] [stdout] --> src/fanotify.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn handle_metadata(buf: *const Metadata, tx: &Sender) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `poll` [INFO] [stdout] --> src/fanotify.rs:152:15 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe fn poll(fd: libc::c_int, tx: &Sender) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Create` [INFO] [stdout] --> src/fanotify.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | Create(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fanotify.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Delete` [INFO] [stdout] --> src/fanotify.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | Delete(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fanotify.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Move` [INFO] [stdout] --> src/fanotify.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | Move(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fanotify.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Trie` [INFO] [stdout] --> src/store.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Trie { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/store.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn from(&self, lines: impl Iterator) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_line` [INFO] [stdout] --> src/store.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn insert_line(&self, line: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `State` [INFO] [stdout] --> src/dfa.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct State(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Symbol` [INFO] [stdout] --> src/dfa.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Symbol(String); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/dfa.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | states: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_symbols` [INFO] [stdout] --> src/dfa.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | input_symbols: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | send.join(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | recv.join(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "0fb9b1304d4f02d58ec6a640f4818e2df3a28ca4951cd54e7ef47625718ea586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fb9b1304d4f02d58ec6a640f4818e2df3a28ca4951cd54e7ef47625718ea586", kill_on_drop: false }` [INFO] [stdout] 0fb9b1304d4f02d58ec6a640f4818e2df3a28ca4951cd54e7ef47625718ea586 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 832565b2454e339e07017330effe0c29bdadaa099be0fb9d9e699230050be566 [INFO] running `Command { std: "docker" "start" "-a" "832565b2454e339e07017330effe0c29bdadaa099be0fb9d9e699230050be566", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `anyhow::Result` [INFO] [stderr] --> src/dfa.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ch` [INFO] [stderr] --> src/store.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | for ch in line.chars() {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `path` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | path: std::path::PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `print` [INFO] [stderr] --> src/main.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | fn print(path: T) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `handle_event` [INFO] [stderr] --> src/main.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | fn handle_event(ev: &Event) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/main.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | fn run() -> Result<(), Box> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `prepare_fd` [INFO] [stderr] --> src/fanotify.rs:27:15 [INFO] [stderr] | [INFO] [stderr] 27 | pub unsafe fn prepare_fd>(__path: P) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BATCH` [INFO] [stderr] --> src/fanotify.rs:71:1 [INFO] [stderr] | [INFO] [stderr] 71 | const BATCH: usize = 200; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Metadata` [INFO] [stderr] --> src/fanotify.rs:72:1 [INFO] [stderr] | [INFO] [stderr] 72 | type Metadata = libc::fanotify_event_metadata; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FAN_EVENT_METADATA_LEN` [INFO] [stderr] --> src/fanotify.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | const FAN_EVENT_METADATA_LEN: usize = std::mem::size_of::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `handle_metadata` [INFO] [stderr] --> src/fanotify.rs:75:15 [INFO] [stderr] | [INFO] [stderr] 75 | pub unsafe fn handle_metadata(buf: *const Metadata, tx: &Sender) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `poll` [INFO] [stderr] --> src/fanotify.rs:152:15 [INFO] [stderr] | [INFO] [stderr] 152 | pub unsafe fn poll(fd: libc::c_int, tx: &Sender) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Create` [INFO] [stderr] --> src/fanotify.rs:172:5 [INFO] [stderr] | [INFO] [stderr] 172 | Create(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fanotify.rs:170:10 [INFO] [stderr] | [INFO] [stderr] 170 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Delete` [INFO] [stderr] --> src/fanotify.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | Delete(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fanotify.rs:170:10 [INFO] [stderr] | [INFO] [stderr] 170 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Move` [INFO] [stderr] --> src/fanotify.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 174 | Move(String, String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fanotify.rs:170:10 [INFO] [stderr] | [INFO] [stderr] 170 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Trie` [INFO] [stderr] --> src/store.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | struct Trie { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from` [INFO] [stderr] --> src/store.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | fn from(&self, lines: impl Iterator) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert_line` [INFO] [stderr] --> src/store.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | fn insert_line(&self, line: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `State` [INFO] [stderr] --> src/dfa.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct State(String); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Symbol` [INFO] [stderr] --> src/dfa.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Symbol(String); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `states` [INFO] [stderr] --> src/dfa.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | states: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `input_symbols` [INFO] [stderr] --> src/dfa.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | input_symbols: HashSet, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | send.join(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | recv.join(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `hunt` (bin "hunt" test) generated 24 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hunt-c8c9705c29997f51) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test dfa::tests::test_dfa ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "832565b2454e339e07017330effe0c29bdadaa099be0fb9d9e699230050be566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832565b2454e339e07017330effe0c29bdadaa099be0fb9d9e699230050be566", kill_on_drop: false }` [INFO] [stdout] 832565b2454e339e07017330effe0c29bdadaa099be0fb9d9e699230050be566