[INFO] cloning repository https://github.com/tf2-mixes/mixes-rating-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tf2-mixes/mixes-rating-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftf2-mixes%2Fmixes-rating-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftf2-mixes%2Fmixes-rating-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37f0478b157f7863f43d9b8e6db06d3ada3a54cb [INFO] testing tf2-mixes/mixes-rating-cli against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftf2-mixes%2Fmixes-rating-cli" "/workspace/builds/worker-115/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-115/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tf2-mixes/mixes-rating-cli on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tf2-mixes/mixes-rating-cli [INFO] finished tweaking git repo https://github.com/tf2-mixes/mixes-rating-cli [INFO] tweaked toml for git repo https://github.com/tf2-mixes/mixes-rating-cli written to /workspace/builds/worker-115/source/Cargo.toml [INFO] crate git repo https://github.com/tf2-mixes/mixes-rating-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/tf2-mixes/mixes-db` [INFO] [stderr] Updating git repository `https://github.com/tf2-mixes/mixes-rating` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-primitive-derive v0.2.2 [INFO] [stderr] Downloaded postgres v0.19.2 [INFO] [stderr] Downloaded postgres-protocol v0.6.3 [INFO] [stderr] Downloaded tokio-postgres v0.7.5 [INFO] [stderr] Downloaded postgres-types v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d9804ecc0024fb61f5a552daf67a2e253d00e27cb087701ccca7b62bdf450dd [INFO] running `Command { std: "docker" "start" "-a" "7d9804ecc0024fb61f5a552daf67a2e253d00e27cb087701ccca7b62bdf450dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d9804ecc0024fb61f5a552daf67a2e253d00e27cb087701ccca7b62bdf450dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d9804ecc0024fb61f5a552daf67a2e253d00e27cb087701ccca7b62bdf450dd", kill_on_drop: false }` [INFO] [stdout] 7d9804ecc0024fb61f5a552daf67a2e253d00e27cb087701ccca7b62bdf450dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90b1144abec6de98dabd98960c961bb6d7b1d41bd290414feb6b37948fa93ade [INFO] running `Command { std: "docker" "start" "-a" "90b1144abec6de98dabd98960c961bb6d7b1d41bd290414feb6b37948fa93ade", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.0 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling enum-primitive-derive v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling postgres v0.19.2 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling mixes-db v0.1.0 (https://github.com/tf2-mixes/mixes-db#85ea73b5) [INFO] [stderr] Compiling mixes-rating v0.1.0 (https://github.com/tf2-mixes/mixes-rating#8828c8b4) [INFO] [stderr] Compiling mixes-rating-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Database`, `SteamID` [INFO] [stdout] --> src/commands/rank_by_win_rate.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use mixes_db::{Class, Database, SteamID}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/commands/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SteamID` [INFO] [stdout] --> src/commands/mod.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use mixes_db::{Database, SteamID}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/add_user.rs:39:57 [INFO] [stdout] | [INFO] [stdout] 39 | match ratings.database_mut().add_user(steam_id, discord_id) { [INFO] [stdout] | ^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `users` found for mutable reference `&mut SQLDb` in the current scope [INFO] [stdout] --> src/commands/rank_by_win_rate.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | let users = ratings.database_mut().users()?; [INFO] [stdout] | ^^^^^ method not found in `&mut SQLDb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `username` found for mutable reference `&mut SQLDb` in the current scope [INFO] [stdout] --> src/commands/rank_by_win_rate.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | let username = match ratings.database_mut().username(user) { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut SQLDb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/commands/update.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | .update(ratio, min_players..=max_players) [INFO] [stdout] | ^^^^^^ ----- ------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/mixes-db-fe09bce20ad23ba8/85ea73b/src/database.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn update(&mut self, min_ratio: f32) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queries.rs:18:62 [INFO] [stdout] | [INFO] [stdout] 18 | let overall_performances = performances.into_iter().map(|(_id, ps)| { [INFO] [stdout] | ^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected struct `Performance`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Performance` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Overall` found for struct `Performance` in the current scope [INFO] [stdout] --> src/queries.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | if let Performance::Overall(op) = p { [INFO] [stdout] | ^^^^^^^ associated item not found in `Performance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mixes-rating-cli` due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "90b1144abec6de98dabd98960c961bb6d7b1d41bd290414feb6b37948fa93ade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90b1144abec6de98dabd98960c961bb6d7b1d41bd290414feb6b37948fa93ade", kill_on_drop: false }` [INFO] [stdout] 90b1144abec6de98dabd98960c961bb6d7b1d41bd290414feb6b37948fa93ade