[INFO] cloning repository https://github.com/alvidrezluke/rusty-card [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alvidrezluke/rusty-card" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvidrezluke%2Frusty-card", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvidrezluke%2Frusty-card'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d802a3ce98ad6355aea8cdd9cf072f7e333c7c6 [INFO] building alvidrezluke/rusty-card against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvidrezluke%2Frusty-card" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alvidrezluke/rusty-card [INFO] finished tweaking git repo https://github.com/alvidrezluke/rusty-card [INFO] tweaked toml for git repo https://github.com/alvidrezluke/rusty-card written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alvidrezluke/rusty-card on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alvidrezluke/rusty-card 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v2.10.0 [INFO] [stderr] Downloaded tracing-log v0.1.3 [INFO] [stderr] Downloaded typemap_rev v0.1.5 [INFO] [stderr] Downloaded num_threads v0.1.6 [INFO] [stderr] Downloaded crypto-common v0.1.3 [INFO] [stderr] Downloaded sha-1 v0.10.0 [INFO] [stderr] Downloaded command_attr v0.4.0 [INFO] [stderr] Downloaded dashmap v5.3.4 [INFO] [stderr] Downloaded generic-array v0.14.5 [INFO] [stderr] Downloaded async-tungstenite v0.17.2 [INFO] [stderr] Downloaded tungstenite v0.17.2 [INFO] [stderr] Downloaded flate2 v1.0.24 [INFO] [stderr] Downloaded hashbrown v0.12.1 [INFO] [stderr] Downloaded tracing-subscriber v0.3.11 [INFO] [stderr] Downloaded openssl-sys v0.9.73 [INFO] [stderr] Downloaded tokio-util v0.6.10 [INFO] [stderr] Downloaded sharded-slab v0.1.4 [INFO] [stderr] Downloaded webpki-roots v0.22.3 [INFO] [stderr] Downloaded rustls-pemfile v0.3.0 [INFO] [stderr] Downloaded serenity v0.11.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b996205d085ba0b5da5ac26c172850d47b4ebff9df3318b21b2d6c482f006446 [INFO] running `Command { std: "docker" "start" "-a" "b996205d085ba0b5da5ac26c172850d47b4ebff9df3318b21b2d6c482f006446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b996205d085ba0b5da5ac26c172850d47b4ebff9df3318b21b2d6c482f006446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b996205d085ba0b5da5ac26c172850d47b4ebff9df3318b21b2d6c482f006446", kill_on_drop: false }` [INFO] [stdout] b996205d085ba0b5da5ac26c172850d47b4ebff9df3318b21b2d6c482f006446 [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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 527ada895a30dafe096a68634215f60231a718e17258f25ffdc866d21f4d8712 [INFO] running `Command { std: "docker" "start" "-a" "527ada895a30dafe096a68634215f60231a718e17258f25ffdc866d21f4d8712", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling serenity v0.11.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling command_attr v0.4.0 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling dashmap v5.3.4 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tungstenite v0.17.2 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling rusty-cards v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/firebase.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{Rng, prelude::SliceRandom, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/firebase.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let length = array.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token` is never used [INFO] [stdout] --> src/firebase.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_token() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidChoice` is never constructed [INFO] [stdout] --> src/interactions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | InvalidChoice, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "527ada895a30dafe096a68634215f60231a718e17258f25ffdc866d21f4d8712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "527ada895a30dafe096a68634215f60231a718e17258f25ffdc866d21f4d8712", kill_on_drop: false }` [INFO] [stdout] 527ada895a30dafe096a68634215f60231a718e17258f25ffdc866d21f4d8712 [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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e927cd5d9db8db6a7e0b7835a19d4bf9a2cf5b25a07bfeb6925f1a6fa52d3ea [INFO] running `Command { std: "docker" "start" "-a" "9e927cd5d9db8db6a7e0b7835a19d4bf9a2cf5b25a07bfeb6925f1a6fa52d3ea", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-cards v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/firebase.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{Rng, prelude::SliceRandom, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/firebase.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let length = array.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token` is never used [INFO] [stdout] --> src/firebase.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_token() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidChoice` is never constructed [INFO] [stdout] --> src/interactions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | InvalidChoice, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "9e927cd5d9db8db6a7e0b7835a19d4bf9a2cf5b25a07bfeb6925f1a6fa52d3ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e927cd5d9db8db6a7e0b7835a19d4bf9a2cf5b25a07bfeb6925f1a6fa52d3ea", kill_on_drop: false }` [INFO] [stdout] 9e927cd5d9db8db6a7e0b7835a19d4bf9a2cf5b25a07bfeb6925f1a6fa52d3ea