[INFO] fetching crate phaser 0.7.8... [INFO] testing phaser-0.7.8 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate phaser 0.7.8 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate phaser 0.7.8 [INFO] finished tweaking crates.io crate phaser 0.7.8 [INFO] tweaked toml for crates.io crate phaser 0.7.8 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate phaser 0.7.8 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate phaser 0.7.8 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures v0.3.15 [INFO] [stderr] Downloaded thiserror v1.0.26 [INFO] [stderr] Downloaded trust-dns-resolver v0.20.3 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded hyper v0.14.10 [INFO] [stderr] Downloaded futures-macro v0.3.15 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] [stderr] Downloaded trust-dns-proto v0.20.3 [INFO] [stderr] Downloaded futures-io v0.3.15 [INFO] [stderr] Downloaded thiserror-impl v1.0.26 [INFO] [stderr] Downloaded futures-executor v0.3.15 [INFO] [stderr] Downloaded hyper-rustls v0.22.1 [INFO] [stderr] Downloaded enum-as-inner v0.3.3 [INFO] [stderr] Downloaded tokio-stream v0.1.7 [INFO] [stderr] Downloaded unicode-segmentation v1.8.0 [INFO] [stderr] Downloaded tokio v1.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98fb770945667f40b3cddfb3d5c93586a42dc246d29e8f7f71ee019e63d95dbd [INFO] running `Command { std: "docker" "start" "-a" "98fb770945667f40b3cddfb3d5c93586a42dc246d29e8f7f71ee019e63d95dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98fb770945667f40b3cddfb3d5c93586a42dc246d29e8f7f71ee019e63d95dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98fb770945667f40b3cddfb3d5c93586a42dc246d29e8f7f71ee019e63d95dbd", kill_on_drop: false }` [INFO] [stdout] 98fb770945667f40b3cddfb3d5c93586a42dc246d29e8f7f71ee019e63d95dbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb87e8e017c8ab8c0c8d59dd0c0408e181fb1fc4acdd3a79d0ae2156f7007e55 [INFO] running `Command { std: "docker" "start" "-a" "eb87e8e017c8ab8c0c8d59dd0c0408e181fb1fc4acdd3a79d0ae2156f7007e55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling trust-dns-proto v0.20.3 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling trust-dns-resolver v0.20.3 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling phaser v0.7.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ProfileConfig` is never constructed [INFO] [stdout] --> src/profile.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ProfileConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/modules/http/cve_2018_7600.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | ("name[#markup]", &(token.clone())), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.14s [INFO] running `Command { std: "docker" "inspect" "eb87e8e017c8ab8c0c8d59dd0c0408e181fb1fc4acdd3a79d0ae2156f7007e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb87e8e017c8ab8c0c8d59dd0c0408e181fb1fc4acdd3a79d0ae2156f7007e55", kill_on_drop: false }` [INFO] [stdout] eb87e8e017c8ab8c0c8d59dd0c0408e181fb1fc4acdd3a79d0ae2156f7007e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9477db81a4ee57287ab0a66d6be72f20c983f1014d628417681c27127edefa5a [INFO] running `Command { std: "docker" "start" "-a" "9477db81a4ee57287ab0a66d6be72f20c983f1014d628417681c27127edefa5a", kill_on_drop: false }` [INFO] [stderr] Compiling phaser v0.7.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ProfileConfig` is never constructed [INFO] [stdout] --> src/profile.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ProfileConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/modules/http/cve_2018_7600.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | ("name[#markup]", &(token.clone())), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "9477db81a4ee57287ab0a66d6be72f20c983f1014d628417681c27127edefa5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9477db81a4ee57287ab0a66d6be72f20c983f1014d628417681c27127edefa5a", kill_on_drop: false }` [INFO] [stdout] 9477db81a4ee57287ab0a66d6be72f20c983f1014d628417681c27127edefa5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5ce8b4fa773379e5c49d18d9abb9e918c4a9700e08c8c517966c69d57fccf0f [INFO] running `Command { std: "docker" "start" "-a" "c5ce8b4fa773379e5c49d18d9abb9e918c4a9700e08c8c517966c69d57fccf0f", kill_on_drop: false }` [INFO] [stderr] warning: struct `ProfileConfig` is never constructed [INFO] [stderr] --> src/profile.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct ProfileConfig { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/modules/http/cve_2018_7600.rs:58:38 [INFO] [stderr] | [INFO] [stderr] 58 | ("name[#markup]", &(token.clone())), [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `phaser` (bin "phaser" test) generated 2 warnings (run `cargo fix --bin "phaser" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/phaser-88a21b3db3faa41a) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test modules::http::git_head_disclosure::tests::is_git_head_file ... ok [INFO] [stdout] test modules::http::git_config_disclosure::tests::is_git_directory ... ok [INFO] [stdout] test modules::http::ds_store_disclosure::tests::is_ds_store ... ok [INFO] [stdout] test modules::http::git_directory_disclosure::tests::is_git_directory ... ok [INFO] [stdout] test modules::http::directory_listing_disclosure::tests::is_directory_listing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c5ce8b4fa773379e5c49d18d9abb9e918c4a9700e08c8c517966c69d57fccf0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ce8b4fa773379e5c49d18d9abb9e918c4a9700e08c8c517966c69d57fccf0f", kill_on_drop: false }` [INFO] [stdout] c5ce8b4fa773379e5c49d18d9abb9e918c4a9700e08c8c517966c69d57fccf0f