[INFO] cloning repository https://github.com/Luksuz/rust_library [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luksuz/rust_library" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuksuz%2Frust_library", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuksuz%2Frust_library'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ecbad3994d579f0fdcdd30026fad62f527f761e [INFO] testing Luksuz/rust_library against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuksuz%2Frust_library" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luksuz/rust_library 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/Luksuz/rust_library [INFO] finished tweaking git repo https://github.com/Luksuz/rust_library [INFO] tweaked toml for git repo https://github.com/Luksuz/rust_library written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Luksuz/rust_library 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] Downloading crates ... [INFO] [stderr] Downloaded openssl v0.10.62 [INFO] [stderr] Downloaded bson v2.8.1 [INFO] [stderr] Downloaded mongodb v2.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5c8d4d419d96e7738f1795954f8a015f0f1e5d03b25285810a5c5d098dc4ee1d [INFO] running `Command { std: "docker" "start" "-a" "5c8d4d419d96e7738f1795954f8a015f0f1e5d03b25285810a5c5d098dc4ee1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c8d4d419d96e7738f1795954f8a015f0f1e5d03b25285810a5c5d098dc4ee1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c8d4d419d96e7738f1795954f8a015f0f1e5d03b25285810a5c5d098dc4ee1d", kill_on_drop: false }` [INFO] [stdout] 5c8d4d419d96e7738f1795954f8a015f0f1e5d03b25285810a5c5d098dc4ee1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ac21df48498a785a523361921075440277e6fd611af51d4b3ae65339d8eeb8cc [INFO] running `Command { std: "docker" "start" "-a" "ac21df48498a785a523361921075440277e6fd611af51d4b3ae65339d8eeb8cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling h2 v0.3.23 [INFO] [stderr] Compiling bson v2.8.1 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling mongodb v2.8.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error::Result`, `from_document`, `results::InsertOneResult` [INFO] [stdout] --> src/db.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | results::InsertOneResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | bson::{doc, from_document}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | error::Result, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio` [INFO] [stdout] --> src/library.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/library.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | ... let mut quiz_object = Question { question: question.question, correct_answer: question.correct_answer, incorrect_answers: question.... [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/library.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut answer = read_input("Your answer: "); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Library` is never constructed [INFO] [stdout] --> src/library.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Library { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_library`, `add_book`, `remove_book`, `edit_book`, and `list_books` are never used [INFO] [stdout] --> src/library.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Library { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 124 | pub fn new(name: String) -> Library { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn create_library(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn add_book(&mut self, book: Book) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn remove_book(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn edit_book(&mut self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn list_books(&self){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "ac21df48498a785a523361921075440277e6fd611af51d4b3ae65339d8eeb8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac21df48498a785a523361921075440277e6fd611af51d4b3ae65339d8eeb8cc", kill_on_drop: false }` [INFO] [stdout] ac21df48498a785a523361921075440277e6fd611af51d4b3ae65339d8eeb8cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 398e5877a3ed23c0f711c7bc0c6fc607c0065c13910357f32102ad39b8242d99 [INFO] running `Command { std: "docker" "start" "-a" "398e5877a3ed23c0f711c7bc0c6fc607c0065c13910357f32102ad39b8242d99", kill_on_drop: false }` [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error::Result`, `from_document`, `results::InsertOneResult` [INFO] [stdout] --> src/db.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | results::InsertOneResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | bson::{doc, from_document}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | error::Result, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio` [INFO] [stdout] --> src/library.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/library.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | ... let mut quiz_object = Question { question: question.question, correct_answer: question.correct_answer, incorrect_answers: question.... [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/library.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut answer = read_input("Your answer: "); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Library` is never constructed [INFO] [stdout] --> src/library.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Library { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_library`, `add_book`, `remove_book`, `edit_book`, and `list_books` are never used [INFO] [stdout] --> src/library.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Library { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 124 | pub fn new(name: String) -> Library { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn create_library(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn add_book(&mut self, book: Book) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn remove_book(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn edit_book(&mut self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn list_books(&self){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "398e5877a3ed23c0f711c7bc0c6fc607c0065c13910357f32102ad39b8242d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398e5877a3ed23c0f711c7bc0c6fc607c0065c13910357f32102ad39b8242d99", kill_on_drop: false }` [INFO] [stdout] 398e5877a3ed23c0f711c7bc0c6fc607c0065c13910357f32102ad39b8242d99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2a72d158c39623f825fa009023f84b5b77c59dd25f168e8fb1d151f3fde9224a [INFO] running `Command { std: "docker" "start" "-a" "2a72d158c39623f825fa009023f84b5b77c59dd25f168e8fb1d151f3fde9224a", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `error::Result`, `from_document`, `results::InsertOneResult` [INFO] [stderr] --> src/db.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | results::InsertOneResult, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | bson::{doc, from_document}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 8 | error::Result, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio` [INFO] [stderr] --> src/library.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/library.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | ... let mut quiz_object = Question { question: question.question, correct_answer: question.correct_answer, incorrect_answers: question.... [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/library.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | let mut answer = read_input("Your answer: "); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: struct `Library` is never constructed [INFO] [stderr] --> src/library.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | pub struct Library { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `create_library`, `add_book`, `remove_book`, `edit_book`, and `list_books` are never used [INFO] [stderr] --> src/library.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 123 | impl Library { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 124 | pub fn new(name: String) -> Library { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | pub fn create_library(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn add_book(&mut self, book: Book) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn remove_book(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | pub fn edit_book(&mut self){ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 183 | pub fn list_books(&self){ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hello_world` (bin "hello_world" test) generated 7 warnings (run `cargo fix --bin "hello_world" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_world-1f3da2d4fcae1977) [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" "2a72d158c39623f825fa009023f84b5b77c59dd25f168e8fb1d151f3fde9224a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a72d158c39623f825fa009023f84b5b77c59dd25f168e8fb1d151f3fde9224a", kill_on_drop: false }` [INFO] [stdout] 2a72d158c39623f825fa009023f84b5b77c59dd25f168e8fb1d151f3fde9224a [INFO] testing Luksuz/rust_library 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%2FLuksuz%2Frust_library" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luksuz/rust_library 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/Luksuz/rust_library [INFO] finished tweaking git repo https://github.com/Luksuz/rust_library [INFO] tweaked toml for git repo https://github.com/Luksuz/rust_library written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Luksuz/rust_library 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e5d4f6ad60526e3604abc9b196f9c7dd446966028f28e7add07857c565f02f12 [INFO] running `Command { std: "docker" "start" "-a" "e5d4f6ad60526e3604abc9b196f9c7dd446966028f28e7add07857c565f02f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5d4f6ad60526e3604abc9b196f9c7dd446966028f28e7add07857c565f02f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5d4f6ad60526e3604abc9b196f9c7dd446966028f28e7add07857c565f02f12", kill_on_drop: false }` [INFO] [stdout] e5d4f6ad60526e3604abc9b196f9c7dd446966028f28e7add07857c565f02f12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5bde158ba162a5ddafcc8badeab7ffc5bbed3f998961793824b866a6956b9aaa [INFO] running `Command { std: "docker" "start" "-a" "5bde158ba162a5ddafcc8badeab7ffc5bbed3f998961793824b866a6956b9aaa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.31/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 tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling async-trait v0.1.77 [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" "5bde158ba162a5ddafcc8badeab7ffc5bbed3f998961793824b866a6956b9aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bde158ba162a5ddafcc8badeab7ffc5bbed3f998961793824b866a6956b9aaa", kill_on_drop: false }` [INFO] [stdout] 5bde158ba162a5ddafcc8badeab7ffc5bbed3f998961793824b866a6956b9aaa