[INFO] cloning repository https://github.com/gcp/rratings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gcp/rratings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgcp%2Frratings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgcp%2Frratings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f207bb90348a2c0e04fd0c7db7046465a0bd834 [INFO] checking gcp/rratings against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgcp%2Frratings" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gcp/rratings [INFO] finished tweaking git repo https://github.com/gcp/rratings [INFO] tweaked toml for git repo https://github.com/gcp/rratings written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gcp/rratings on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gcp/rratings 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e00f9c240e27df3a9e4bd2545fb466555d51e5fa57984c31f80b1279094ce2fb [INFO] running `Command { std: "docker" "start" "-a" "e00f9c240e27df3a9e4bd2545fb466555d51e5fa57984c31f80b1279094ce2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e00f9c240e27df3a9e4bd2545fb466555d51e5fa57984c31f80b1279094ce2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00f9c240e27df3a9e4bd2545fb466555d51e5fa57984c31f80b1279094ce2fb", kill_on_drop: false }` [INFO] [stdout] e00f9c240e27df3a9e4bd2545fb466555d51e5fa57984c31f80b1279094ce2fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f871416a035b568c6c814d243db5e26d2a3aa8765b85cbbceed56c3f37349ea [INFO] running `Command { std: "docker" "start" "-a" "3f871416a035b568c6c814d243db5e26d2a3aa8765b85cbbceed56c3f37349ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling clang-sys v0.26.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling bindgen v0.42.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling base64 v0.5.2 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling cexpr v0.3.3 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Compiling shakmaty v0.11.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking btoi v0.4.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking console v0.6.2 [INFO] [stderr] Checking roots v0.0.4 [INFO] [stderr] Compiling blob v0.2.0 [INFO] [stderr] Checking indicatif v0.9.0 [INFO] [stderr] Checking pgn-reader v0.10.0 [INFO] [stderr] Compiling zstd-sys v1.4.6+zstd.1.3.7 [INFO] [stderr] Checking zstd-safe v1.4.6+zstd.1.3.7 [INFO] [stderr] Checking zstd v0.4.21+zstd.1.3.7 [INFO] [stderr] Checking rratings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/glicko.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/glicko.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Outcome` [INFO] [stdout] --> src/glicko.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use pgn_reader::{Color, Outcome}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/glicko2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/glicko2.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Outcome` [INFO] [stdout] --> src/glicko2.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use pgn_reader::{Color, Outcome}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/ligcko2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/ligcko2.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Outcome` [INFO] [stdout] --> src/ligcko2.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use pgn_reader::{Color, Outcome}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/playerdb.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/playerdb.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatsDB` [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | use playerdb::{RatingDB, StatsDB}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/glicko.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/glicko.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Outcome` [INFO] [stdout] --> src/glicko.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use pgn_reader::{Color, Outcome}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/glicko2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/glicko2.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Outcome` [INFO] [stdout] --> src/glicko2.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use pgn_reader::{Color, Outcome}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/ligcko2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/ligcko2.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Outcome` [INFO] [stdout] --> src/ligcko2.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use pgn_reader::{Color, Outcome}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/playerdb.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/playerdb.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatsDB` [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | use playerdb::{RatingDB, StatsDB}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days_him` [INFO] [stdout] --> src/ligcko2.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let days_him = Ligcko2Rating::calc_days(&opponent.mtime, result_time); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_days_him` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days_him` [INFO] [stdout] --> src/ligcko2.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let days_him = Ligcko2Rating::calc_days(&opponent.mtime, result_time); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_days_him` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calc_days` is never used [INFO] [stdout] --> src/glicko2.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Glicko2Rating { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn calc_days(old: &DateTime, now: &DateTime) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calc_days` is never used [INFO] [stdout] --> src/glicko2.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Glicko2Rating { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn calc_days(old: &DateTime, now: &DateTime) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.3, nom v4.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3f871416a035b568c6c814d243db5e26d2a3aa8765b85cbbceed56c3f37349ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f871416a035b568c6c814d243db5e26d2a3aa8765b85cbbceed56c3f37349ea", kill_on_drop: false }` [INFO] [stdout] 3f871416a035b568c6c814d243db5e26d2a3aa8765b85cbbceed56c3f37349ea