[INFO] cloning repository https://github.com/augustbonds/metrix-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/augustbonds/metrix-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustbonds%2Fmetrix-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustbonds%2Fmetrix-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff146c2a59a62986c4f5302287affa8e14e02b22 [INFO] testing augustbonds/metrix-cli against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustbonds%2Fmetrix-cli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/augustbonds/metrix-cli on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/augustbonds/metrix-cli [INFO] finished tweaking git repo https://github.com/augustbonds/metrix-cli [INFO] tweaked toml for git repo https://github.com/augustbonds/metrix-cli written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16efe546442597f8673dc28ad7bdead4a0aa3bd12d04bc298abac215e4261c74 [INFO] running `Command { std: "docker" "start" "-a" "16efe546442597f8673dc28ad7bdead4a0aa3bd12d04bc298abac215e4261c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16efe546442597f8673dc28ad7bdead4a0aa3bd12d04bc298abac215e4261c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16efe546442597f8673dc28ad7bdead4a0aa3bd12d04bc298abac215e4261c74", kill_on_drop: false }` [INFO] [stdout] 16efe546442597f8673dc28ad7bdead4a0aa3bd12d04bc298abac215e4261c74 [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 -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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bc712239c5e20bfeda3cdc50330ca0d98ab95082f4c4333aeb1bcd89c11040a [INFO] running `Command { std: "docker" "start" "-a" "5bc712239c5e20bfeda3cdc50330ca0d98ab95082f4c4333aeb1bcd89c11040a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling cookie_store v0.16.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.14 [INFO] [stderr] Compiling metrix-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `courses` [INFO] [stdout] --> src/competitions.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{courses, FrontNine, UDiscScorecard}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/competitions.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | for td in tr.select(&tdselector) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Competition` is never constructed [INFO] [stdout] --> src/competitions.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct Competition { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `competitions` is never used [INFO] [stdout] --> src/competitions.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn competitions(client: &Client) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_competitions` is never used [INFO] [stdout] --> src/competitions.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn parse_competitions(xml : &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/competitions.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | block_on(reqwest::get("https://discgolfmetrix.com/".to_string() + &id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 56s [INFO] running `Command { std: "docker" "inspect" "5bc712239c5e20bfeda3cdc50330ca0d98ab95082f4c4333aeb1bcd89c11040a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bc712239c5e20bfeda3cdc50330ca0d98ab95082f4c4333aeb1bcd89c11040a", kill_on_drop: false }` [INFO] [stdout] 5bc712239c5e20bfeda3cdc50330ca0d98ab95082f4c4333aeb1bcd89c11040a [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 -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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c23b01f728bafb580b9489c9f6487006652361924c8e9755ef9c26db09bfe6a7 [INFO] running `Command { std: "docker" "start" "-a" "c23b01f728bafb580b9489c9f6487006652361924c8e9755ef9c26db09bfe6a7", kill_on_drop: false }` [INFO] [stderr] Compiling metrix-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `courses` [INFO] [stdout] --> src/competitions.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{courses, FrontNine, UDiscScorecard}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `td` [INFO] [stdout] --> src/competitions.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | for td in tr.select(&tdselector) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Competition` is never constructed [INFO] [stdout] --> src/competitions.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct Competition { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `competitions` is never used [INFO] [stdout] --> src/competitions.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn competitions(client: &Client) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_competitions` is never used [INFO] [stdout] --> src/competitions.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn parse_competitions(xml : &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/competitions.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | block_on(reqwest::get("https://discgolfmetrix.com/".to_string() + &id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.73s [INFO] running `Command { std: "docker" "inspect" "c23b01f728bafb580b9489c9f6487006652361924c8e9755ef9c26db09bfe6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23b01f728bafb580b9489c9f6487006652361924c8e9755ef9c26db09bfe6a7", kill_on_drop: false }` [INFO] [stdout] c23b01f728bafb580b9489c9f6487006652361924c8e9755ef9c26db09bfe6a7 [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 -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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6014150b21d2d2f22ce712d36c7e04d2f11c3a7409c4e2d3a1f11df21ccab19 [INFO] running `Command { std: "docker" "start" "-a" "c6014150b21d2d2f22ce712d36c7e04d2f11c3a7409c4e2d3a1f11df21ccab19", 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] [stderr] warning: unused import: `courses` [INFO] [stderr] --> src/competitions.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{courses, FrontNine, UDiscScorecard}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `td` [INFO] [stderr] --> src/competitions.rs:143:13 [INFO] [stderr] | [INFO] [stderr] 143 | for td in tr.select(&tdselector) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_td` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Competition` is never constructed [INFO] [stderr] --> src/competitions.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | struct Competition { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `competitions` is never used [INFO] [stderr] --> src/competitions.rs:129:14 [INFO] [stderr] | [INFO] [stderr] 129 | pub async fn competitions(client: &Client) -> Response { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_competitions` is never used [INFO] [stderr] --> src/competitions.rs:134:4 [INFO] [stderr] | [INFO] [stderr] 134 | fn parse_competitions(xml : &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/competitions.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | block_on(reqwest::get("https://discgolfmetrix.com/".to_string() + &id)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `metrix-cli` (bin "metrix-cli" test) generated 6 warnings (run `cargo fix --bin "metrix-cli" --tests` to apply 2 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/metrix_cli-f27048f42561d956) [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" "c6014150b21d2d2f22ce712d36c7e04d2f11c3a7409c4e2d3a1f11df21ccab19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6014150b21d2d2f22ce712d36c7e04d2f11c3a7409c4e2d3a1f11df21ccab19", kill_on_drop: false }` [INFO] [stdout] c6014150b21d2d2f22ce712d36c7e04d2f11c3a7409c4e2d3a1f11df21ccab19