[INFO] cloning repository https://github.com/pramatias/hnotify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pramatias/hnotify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpramatias%2Fhnotify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpramatias%2Fhnotify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 359b3c313dc2ba3ca181752ef60b615d47b35f02 [INFO] building pramatias/hnotify against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpramatias%2Fhnotify" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pramatias/hnotify [INFO] finished tweaking git repo https://github.com/pramatias/hnotify [INFO] tweaked toml for git repo https://github.com/pramatias/hnotify written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pramatias/hnotify on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pramatias/hnotify 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 semver v1.0.19 [INFO] [stderr] Downloaded dtoa-short v0.3.4 [INFO] [stderr] Downloaded select v0.6.0 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded named_pipe v0.3.0 [INFO] [stderr] Downloaded twox-hash v1.6.3 [INFO] [stderr] Downloaded mysql v15.1.2 [INFO] [stderr] Downloaded schannel v0.1.22 [INFO] [stderr] Downloaded rustix v0.38.17 [INFO] [stderr] Downloaded xml5ever v0.17.0 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded h2 v0.3.21 [INFO] [stderr] Downloaded openssl v0.10.57 [INFO] [stderr] Downloaded openssl-sys v0.9.93 [INFO] [stderr] Downloaded markup5ever_rcdom v0.2.0 [INFO] [stderr] Downloaded sha2 v0.8.2 [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded mysql_common v0.15.0 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded ipnet v2.8.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.37 [INFO] [stderr] Downloaded bufstream v0.1.4 [INFO] [stderr] Downloaded atoi v0.3.3 [INFO] [stderr] Downloaded bit-vec v0.5.1 [INFO] [stderr] Downloaded sha1 v0.6.1 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded scraper v0.13.0 [INFO] [stderr] Downloaded nix v0.12.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ed34ee8b6577ae134f2c9921ba110dcb8ef952ef4033dd22dfa2515113eaae0 [INFO] running `Command { std: "docker" "start" "-a" "2ed34ee8b6577ae134f2c9921ba110dcb8ef952ef4033dd22dfa2515113eaae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ed34ee8b6577ae134f2c9921ba110dcb8ef952ef4033dd22dfa2515113eaae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed34ee8b6577ae134f2c9921ba110dcb8ef952ef4033dd22dfa2515113eaae0", kill_on_drop: false }` [INFO] [stdout] 2ed34ee8b6577ae134f2c9921ba110dcb8ef952ef4033dd22dfa2515113eaae0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55417ea9ba060aaed6303092b184ed0354bac600ed02ce115e2645d58ada0e78 [INFO] running `Command { std: "docker" "start" "-a" "55417ea9ba060aaed6303092b184ed0354bac600ed02ce115e2645d58ada0e78", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling nix v0.12.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling mysql v15.1.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mysql_common v0.15.0 [INFO] [stderr] Compiling xml5ever v0.17.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling markup5ever_rcdom v0.2.0 [INFO] [stderr] Compiling scraper v0.13.0 [INFO] [stderr] Compiling select v0.6.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling hnotify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::HnComments` [INFO] [stdout] --> src/notify.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::HnComments; [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: `chrono::Utc` [INFO] [stdout] --> src/notify.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest` [INFO] [stdout] --> src/notify.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::document::Document` [INFO] [stdout] --> src/notify.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use select::document::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::node::Node` [INFO] [stdout] --> src/notify.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use select::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::predicate::Name` [INFO] [stdout] --> src/notify.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use select::predicate::Name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/comments_checker.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use mysql::{Pool, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `calculate_hash` are never used [INFO] [stdout] --> src/utils.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl HnComments { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn new(timestamp: NaiveDateTime, text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn calculate_hash(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/hnscraper.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Comment { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pub hnuser: String, [INFO] [stdout] 10 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "55417ea9ba060aaed6303092b184ed0354bac600ed02ce115e2645d58ada0e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55417ea9ba060aaed6303092b184ed0354bac600ed02ce115e2645d58ada0e78", kill_on_drop: false }` [INFO] [stdout] 55417ea9ba060aaed6303092b184ed0354bac600ed02ce115e2645d58ada0e78 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9059e34c39531070aaca1dca596fe2dd2459e6da07a2184bc62d43f319047616 [INFO] running `Command { std: "docker" "start" "-a" "9059e34c39531070aaca1dca596fe2dd2459e6da07a2184bc62d43f319047616", kill_on_drop: false }` [INFO] [stderr] Compiling hnotify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::HnComments` [INFO] [stdout] --> src/notify.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::HnComments; [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: `chrono::Utc` [INFO] [stdout] --> src/notify.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest` [INFO] [stdout] --> src/notify.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::document::Document` [INFO] [stdout] --> src/notify.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use select::document::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::node::Node` [INFO] [stdout] --> src/notify.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use select::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::predicate::Name` [INFO] [stdout] --> src/notify.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use select::predicate::Name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/comments_checker.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use mysql::{Pool, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `calculate_hash` are never used [INFO] [stdout] --> src/utils.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl HnComments { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn new(timestamp: NaiveDateTime, text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn calculate_hash(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/hnscraper.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Comment { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pub hnuser: String, [INFO] [stdout] 10 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "9059e34c39531070aaca1dca596fe2dd2459e6da07a2184bc62d43f319047616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9059e34c39531070aaca1dca596fe2dd2459e6da07a2184bc62d43f319047616", kill_on_drop: false }` [INFO] [stdout] 9059e34c39531070aaca1dca596fe2dd2459e6da07a2184bc62d43f319047616