[INFO] cloning repository https://github.com/mxple/cfcli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mxple/cfcli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxple%2Fcfcli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxple%2Fcfcli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 538852e74d6c5e5c3848bd8acb49b02ffe73831a [INFO] testing mxple/cfcli against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxple%2Fcfcli" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mxple/cfcli on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mxple/cfcli [INFO] finished tweaking git repo https://github.com/mxple/cfcli [INFO] tweaked toml for git repo https://github.com/mxple/cfcli written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mxple/cfcli 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtoolbox v0.0.2 [INFO] [stderr] Downloaded rpassword v7.3.1 [INFO] [stderr] Downloaded scraper v0.19.0 [INFO] [stderr] Downloaded clap v4.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16b97100dd139041b835425782d03cbe5b97273d4144d45fbfa808169667be58 [INFO] running `Command { std: "docker" "start" "-a" "16b97100dd139041b835425782d03cbe5b97273d4144d45fbfa808169667be58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16b97100dd139041b835425782d03cbe5b97273d4144d45fbfa808169667be58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b97100dd139041b835425782d03cbe5b97273d4144d45fbfa808169667be58", kill_on_drop: false }` [INFO] [stdout] 16b97100dd139041b835425782d03cbe5b97273d4144d45fbfa808169667be58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afa9ec39c2320d56a0ac778904dc5323573862051e867fe622744c511110118e [INFO] running `Command { std: "docker" "start" "-a" "afa9ec39c2320d56a0ac778904dc5323573862051e867fe622744c511110118e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling clap v4.5.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling scraper v0.19.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.26 [INFO] [stderr] Compiling cfcli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `contest` [INFO] [stdout] --> src/main.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | ContestOrProblem::Contest(contest) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `problem` [INFO] [stdout] --> src/main.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | ContestOrProblem::Problem(problem) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_problem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `problem` [INFO] [stdout] --> src/main.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | Commands::Submit { problem } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `problem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ftaa` is never used [INFO] [stdout] --> src/auth/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_ftaa() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bfaa` is never used [INFO] [stdout] --> src/auth/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_bfaa() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_csrf` is never used [INFO] [stdout] --> src/auth/mod.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_csrf(body: &String) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_credentials` is never used [INFO] [stdout] --> src/auth/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_credentials() -> Result<(String, String), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> src/auth/mod.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn login() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_handle` is never used [INFO] [stdout] --> src/auth/mod.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_handle(body: &String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHA_NUMERIC` is never used [INFO] [stdout] --> src/utils/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const ALPHA_NUMERIC: &str = "abcdefghijklmnopqrstuvwxyz0123456789"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_string` is never used [INFO] [stdout] --> src/utils/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn random_string(n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contest_id` and `problem_id` are never read [INFO] [stdout] --> src/utils/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Problem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 25 | pub contest_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | pub problem_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contest_id` is never read [INFO] [stdout] --> src/utils/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Contest { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | pub contest_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Contest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.73s [INFO] running `Command { std: "docker" "inspect" "afa9ec39c2320d56a0ac778904dc5323573862051e867fe622744c511110118e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afa9ec39c2320d56a0ac778904dc5323573862051e867fe622744c511110118e", kill_on_drop: false }` [INFO] [stdout] afa9ec39c2320d56a0ac778904dc5323573862051e867fe622744c511110118e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2d1005942f17528f74addbc4454cf9764ccc52b58840ef7509e04fa32cb4fb3 [INFO] running `Command { std: "docker" "start" "-a" "e2d1005942f17528f74addbc4454cf9764ccc52b58840ef7509e04fa32cb4fb3", kill_on_drop: false }` [INFO] [stderr] Compiling cfcli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `contest` [INFO] [stdout] --> src/main.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | ContestOrProblem::Contest(contest) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `problem` [INFO] [stdout] --> src/main.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | ContestOrProblem::Problem(problem) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_problem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `problem` [INFO] [stdout] --> src/main.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | Commands::Submit { problem } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `problem: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ftaa` is never used [INFO] [stdout] --> src/auth/mod.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_ftaa() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bfaa` is never used [INFO] [stdout] --> src/auth/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_bfaa() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_csrf` is never used [INFO] [stdout] --> src/auth/mod.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_csrf(body: &String) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_credentials` is never used [INFO] [stdout] --> src/auth/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_credentials() -> Result<(String, String), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> src/auth/mod.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn login() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_handle` is never used [INFO] [stdout] --> src/auth/mod.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_handle(body: &String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHA_NUMERIC` is never used [INFO] [stdout] --> src/utils/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const ALPHA_NUMERIC: &str = "abcdefghijklmnopqrstuvwxyz0123456789"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_string` is never used [INFO] [stdout] --> src/utils/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn random_string(n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contest_id` and `problem_id` are never read [INFO] [stdout] --> src/utils/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Problem { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 25 | pub contest_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | pub problem_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contest_id` is never read [INFO] [stdout] --> src/utils/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Contest { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | pub contest_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Contest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "e2d1005942f17528f74addbc4454cf9764ccc52b58840ef7509e04fa32cb4fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d1005942f17528f74addbc4454cf9764ccc52b58840ef7509e04fa32cb4fb3", kill_on_drop: false }` [INFO] [stdout] e2d1005942f17528f74addbc4454cf9764ccc52b58840ef7509e04fa32cb4fb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2a87e99189a233bfe3f1d940288996bcb32ae761a18e287122e424e8e19a175 [INFO] running `Command { std: "docker" "start" "-a" "f2a87e99189a233bfe3f1d940288996bcb32ae761a18e287122e424e8e19a175", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `contest` [INFO] [stderr] --> src/main.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ContestOrProblem::Contest(contest) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contest` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `problem` [INFO] [stderr] --> src/main.rs:40:39 [INFO] [stderr] | [INFO] [stderr] 40 | ContestOrProblem::Problem(problem) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_problem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `problem` [INFO] [stderr] --> src/main.rs:44:28 [INFO] [stderr] | [INFO] [stderr] 44 | Commands::Submit { problem } => { [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `problem: _` [INFO] [stderr] [INFO] [stderr] warning: function `get_ftaa` is never used [INFO] [stderr] --> src/auth/mod.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | fn get_ftaa() -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_bfaa` is never used [INFO] [stderr] --> src/auth/mod.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn get_bfaa() -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_csrf` is never used [INFO] [stderr] --> src/auth/mod.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn get_csrf(body: &String) -> Result> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_credentials` is never used [INFO] [stderr] --> src/auth/mod.rs:30:4 [INFO] [stderr] | [INFO] [stderr] 30 | fn get_credentials() -> Result<(String, String), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `login` is never used [INFO] [stderr] --> src/auth/mod.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | pub async fn login() -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_handle` is never used [INFO] [stderr] --> src/auth/mod.rs:81:4 [INFO] [stderr] | [INFO] [stderr] 81 | fn get_handle(body: &String) -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ALPHA_NUMERIC` is never used [INFO] [stderr] --> src/utils/mod.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const ALPHA_NUMERIC: &str = "abcdefghijklmnopqrstuvwxyz0123456789"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `random_string` is never used [INFO] [stderr] --> src/utils/mod.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn random_string(n: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `contest_id` and `problem_id` are never read [INFO] [stderr] --> src/utils/mod.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Problem { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 25 | pub contest_id: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 26 | pub problem_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Problem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `contest_id` is never read [INFO] [stderr] --> src/utils/mod.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct Contest { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 31 | pub contest_id: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Contest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `cfcli` (bin "cfcli" test) generated 13 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cfcli-26b4a47c8b8fdfd3) [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" "f2a87e99189a233bfe3f1d940288996bcb32ae761a18e287122e424e8e19a175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a87e99189a233bfe3f1d940288996bcb32ae761a18e287122e424e8e19a175", kill_on_drop: false }` [INFO] [stdout] f2a87e99189a233bfe3f1d940288996bcb32ae761a18e287122e424e8e19a175 [INFO] testing mxple/cfcli against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmxple%2Fcfcli" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mxple/cfcli on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mxple/cfcli [INFO] finished tweaking git repo https://github.com/mxple/cfcli [INFO] tweaked toml for git repo https://github.com/mxple/cfcli written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mxple/cfcli 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" "+beta-2024-06-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edb68b662c4245621d6e1949a2cb71d1bb28df4ede3a8f23261dd27017c028a7 [INFO] running `Command { std: "docker" "start" "-a" "edb68b662c4245621d6e1949a2cb71d1bb28df4ede3a8f23261dd27017c028a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edb68b662c4245621d6e1949a2cb71d1bb28df4ede3a8f23261dd27017c028a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb68b662c4245621d6e1949a2cb71d1bb28df4ede3a8f23261dd27017c028a7", kill_on_drop: false }` [INFO] [stdout] edb68b662c4245621d6e1949a2cb71d1bb28df4ede3a8f23261dd27017c028a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f265de4bb77e4fc9b17f3685a53df20a49ffde4704434e7c3107b47da2ad0c5b [INFO] running `Command { std: "docker" "start" "-a" "f265de4bb77e4fc9b17f3685a53df20a49ffde4704434e7c3107b47da2ad0c5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f265de4bb77e4fc9b17f3685a53df20a49ffde4704434e7c3107b47da2ad0c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f265de4bb77e4fc9b17f3685a53df20a49ffde4704434e7c3107b47da2ad0c5b", kill_on_drop: false }` [INFO] [stdout] f265de4bb77e4fc9b17f3685a53df20a49ffde4704434e7c3107b47da2ad0c5b