[INFO] cloning repository https://github.com/ewkchong/crab-crawl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ewkchong/crab-crawl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fewkchong%2Fcrab-crawl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fewkchong%2Fcrab-crawl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 417151190a8f182f21b33dfecfeab9a9a1949db1 [INFO] testing ewkchong/crab-crawl against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fewkchong%2Fcrab-crawl" "/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/ewkchong/crab-crawl [INFO] finished tweaking git repo https://github.com/ewkchong/crab-crawl [INFO] tweaked toml for git repo https://github.com/ewkchong/crab-crawl written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ewkchong/crab-crawl on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ewkchong/crab-crawl 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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 phf_shared v0.11.2 [INFO] [stderr] Downloaded fxhash v0.2.1 [INFO] [stderr] Downloaded phf v0.11.2 [INFO] [stderr] Downloaded servo_arc v0.3.0 [INFO] [stderr] Downloaded derive_more v0.99.18 [INFO] [stderr] Downloaded darling_macro v0.13.4 [INFO] [stderr] Downloaded phf_macros v0.11.2 [INFO] [stderr] Downloaded scraper v0.19.0 [INFO] [stderr] Downloaded dyn-clone v1.0.17 [INFO] [stderr] Downloaded rustversion v1.0.17 [INFO] [stderr] Downloaded async-trait v0.1.80 [INFO] [stderr] Downloaded ego-tree v0.6.2 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded flate2 v1.0.30 [INFO] [stderr] Downloaded async-compression v0.4.11 [INFO] [stderr] Downloaded serde_with v1.14.0 [INFO] [stderr] Downloaded hyper-util v0.1.5 [INFO] [stderr] Downloaded darling_core v0.13.4 [INFO] [stderr] Downloaded hyper v1.3.1 [INFO] [stderr] Downloaded serde_json v1.0.119 [INFO] [stderr] Downloaded cc v1.0.103 [INFO] [stderr] Downloaded rustls-webpki v0.102.4 [INFO] [stderr] Downloaded elasticsearch v8.5.0-alpha.1 [INFO] [stderr] Downloaded getopts v0.2.21 [INFO] [stderr] Downloaded phf_generator v0.11.2 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded darling v0.13.4 [INFO] [stderr] Downloaded serde_with_macros v1.5.2 [INFO] [stderr] Downloaded cssparser-macros v0.6.1 [INFO] [stderr] Downloaded dtoa v1.0.9 [INFO] [stderr] Downloaded dtoa-short v0.3.5 [INFO] [stderr] Downloaded cssparser v0.31.2 [INFO] [stderr] Downloaded selectors v0.25.0 [INFO] [stderr] Downloaded unicode-width v0.1.13 [INFO] [stderr] Downloaded void v1.0.2 [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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa743f85caafcce8fe4b7d859f024b8acc6b47038b2029c4c1abc6b3da7fff23 [INFO] running `Command { std: "docker" "start" "-a" "aa743f85caafcce8fe4b7d859f024b8acc6b47038b2029c4c1abc6b3da7fff23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa743f85caafcce8fe4b7d859f024b8acc6b47038b2029c4c1abc6b3da7fff23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa743f85caafcce8fe4b7d859f024b8acc6b47038b2029c4c1abc6b3da7fff23", kill_on_drop: false }` [INFO] [stdout] aa743f85caafcce8fe4b7d859f024b8acc6b47038b2029c4c1abc6b3da7fff23 [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 224cef8b0b46fb74f42484d04de30a41cd776390a4cd702d662f43318646b3df [INFO] running `Command { std: "docker" "start" "-a" "224cef8b0b46fb74f42484d04de30a41cd776390a4cd702d662f43318646b3df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.103 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.119 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling elasticsearch v8.5.0-alpha.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling async-compression v0.4.11 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling scraper v0.19.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling crab-crawl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `uj` [INFO] [stdout] --> src/crawler/mod.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uj` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/crawler/mod.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visited` [INFO] [stdout] --> src/crawler/mod.rs:68:54 [INFO] [stdout] | [INFO] [stdout] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/crawler/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_hostname(url: &String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> src/crawler/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let hostname = get_hostname(&seed_vec.front().unwrap().url); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxDepth` [INFO] [stdout] --> src/crawler/mod.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn crawl(seeds: Vec, maxDepth: u8) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxDepth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `URLJob` is never constructed [INFO] [stdout] --> src/crawler/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct URLJob { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedURLQueue` is never used [INFO] [stdout] --> src/crawler/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type SharedURLQueue = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedURLSet` is never used [INFO] [stdout] --> src/crawler/mod.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type SharedURLSet = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hostname` is never used [INFO] [stdout] --> src/crawler/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_hostname(url: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crawl` is never used [INFO] [stdout] --> src/crawler/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn crawl(seeds: Vec, maxDepth: u8) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/crawler/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxDepth` should have a snake case name [INFO] [stdout] --> src/crawler/mod.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn crawl(seeds: Vec, maxDepth: u8) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9m 08s [INFO] running `Command { std: "docker" "inspect" "224cef8b0b46fb74f42484d04de30a41cd776390a4cd702d662f43318646b3df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "224cef8b0b46fb74f42484d04de30a41cd776390a4cd702d662f43318646b3df", kill_on_drop: false }` [INFO] [stdout] 224cef8b0b46fb74f42484d04de30a41cd776390a4cd702d662f43318646b3df [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 950291f517429a5ccf7315e9041cb3427ca28868747f2efa7e17e247461b7287 [INFO] running `Command { std: "docker" "start" "-a" "950291f517429a5ccf7315e9041cb3427ca28868747f2efa7e17e247461b7287", kill_on_drop: false }` [INFO] [stderr] Compiling crab-crawl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `uj` [INFO] [stdout] --> src/crawler/mod.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uj` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/crawler/mod.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visited` [INFO] [stdout] --> src/crawler/mod.rs:68:54 [INFO] [stdout] | [INFO] [stdout] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/crawler/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_hostname(url: &String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> src/crawler/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let hostname = get_hostname(&seed_vec.front().unwrap().url); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxDepth` [INFO] [stdout] --> src/crawler/mod.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn crawl(seeds: Vec, maxDepth: u8) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxDepth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `URLJob` is never constructed [INFO] [stdout] --> src/crawler/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct URLJob { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedURLQueue` is never used [INFO] [stdout] --> src/crawler/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type SharedURLQueue = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedURLSet` is never used [INFO] [stdout] --> src/crawler/mod.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type SharedURLSet = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_hostname` is never used [INFO] [stdout] --> src/crawler/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_hostname(url: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crawl` is never used [INFO] [stdout] --> src/crawler/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn crawl(seeds: Vec, maxDepth: u8) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/crawler/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxDepth` should have a snake case name [INFO] [stdout] --> src/crawler/mod.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn crawl(seeds: Vec, maxDepth: u8) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "950291f517429a5ccf7315e9041cb3427ca28868747f2efa7e17e247461b7287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950291f517429a5ccf7315e9041cb3427ca28868747f2efa7e17e247461b7287", kill_on_drop: false }` [INFO] [stdout] 950291f517429a5ccf7315e9041cb3427ca28868747f2efa7e17e247461b7287 [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 851693787ec65d3cefa74e79920ce49d0092af91762fe58bdcea033a488018d5 [INFO] running `Command { std: "docker" "start" "-a" "851693787ec65d3cefa74e79920ce49d0092af91762fe58bdcea033a488018d5", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `uj` [INFO] [stderr] --> src/crawler/mod.rs:68:18 [INFO] [stderr] | [INFO] [stderr] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_uj` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `queue` [INFO] [stderr] --> src/crawler/mod.rs:68:31 [INFO] [stderr] | [INFO] [stderr] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visited` [INFO] [stderr] --> src/crawler/mod.rs:68:54 [INFO] [stderr] | [INFO] [stderr] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visited` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/crawler/mod.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | fn get_hostname(url: &String) -> String { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hostname` [INFO] [stderr] --> src/crawler/mod.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | let hostname = get_hostname(&seed_vec.front().unwrap().url); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `maxDepth` [INFO] [stderr] --> src/crawler/mod.rs:27:34 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn crawl(seeds: Vec, maxDepth: u8) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxDepth` [INFO] [stderr] [INFO] [stderr] warning: struct `URLJob` is never constructed [INFO] [stderr] --> src/crawler/mod.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct URLJob { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `SharedURLQueue` is never used [INFO] [stderr] --> src/crawler/mod.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | type SharedURLQueue = Arc>>; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `SharedURLSet` is never used [INFO] [stderr] --> src/crawler/mod.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | type SharedURLSet = Arc>>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_hostname` is never used [INFO] [stderr] --> src/crawler/mod.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | fn get_hostname(url: &String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `crawl` is never used [INFO] [stderr] --> src/crawler/mod.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn crawl(seeds: Vec, maxDepth: u8) -> Result<(), String> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `process` is never used [INFO] [stderr] --> src/crawler/mod.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | async fn process(uj: &URLJob, queue: SharedURLQueue, visited: SharedURLSet) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `maxDepth` should have a snake case name [INFO] [stderr] --> src/crawler/mod.rs:27:34 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn crawl(seeds: Vec, maxDepth: u8) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `max_depth` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `crab-crawl` (bin "crab-crawl" test) generated 13 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/crab_crawl-38d56255278282d6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/server.rs (/opt/rustwide/target/debug/deps/server-7966f7e45cf67e66) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "851693787ec65d3cefa74e79920ce49d0092af91762fe58bdcea033a488018d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851693787ec65d3cefa74e79920ce49d0092af91762fe58bdcea033a488018d5", kill_on_drop: false }` [INFO] [stdout] 851693787ec65d3cefa74e79920ce49d0092af91762fe58bdcea033a488018d5