[INFO] cloning repository https://github.com/Doloro1978/OpenTanTan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Doloro1978/OpenTanTan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoloro1978%2FOpenTanTan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoloro1978%2FOpenTanTan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3fb36fe47ab2d2781ba6c4addc4b9af1194661e [INFO] testing Doloro1978/OpenTanTan against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoloro1978%2FOpenTanTan" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Doloro1978/OpenTanTan [INFO] finished tweaking git repo https://github.com/Doloro1978/OpenTanTan [INFO] tweaked toml for git repo https://github.com/Doloro1978/OpenTanTan written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Doloro1978/OpenTanTan on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Doloro1978/OpenTanTan 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.test [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49c9287b845a845bb0c5dc7debe690a50935613a8b72cb46ec3a0d84c0efda8a [INFO] running `Command { std: "docker" "start" "-a" "49c9287b845a845bb0c5dc7debe690a50935613a8b72cb46ec3a0d84c0efda8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49c9287b845a845bb0c5dc7debe690a50935613a8b72cb46ec3a0d84c0efda8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c9287b845a845bb0c5dc7debe690a50935613a8b72cb46ec3a0d84c0efda8a", kill_on_drop: false }` [INFO] [stdout] 49c9287b845a845bb0c5dc7debe690a50935613a8b72cb46ec3a0d84c0efda8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60b12beee849019e156ac02aa5e7c34521f395b3616218b661826ef6d47e84ee [INFO] running `Command { std: "docker" "start" "-a" "60b12beee849019e156ac02aa5e7c34521f395b3616218b661826ef6d47e84ee", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.test [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling rand_core v0.9.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling OpenTanTan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rng`, `ThreadRng`, and `distr::Uniform` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | distr::Uniform, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | rngs::{StdRng, ThreadRng}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | seq::{IndexedRandom, IteratorRandom}, [INFO] [stdout] 7 | Rng, 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 import: `Tantan` [INFO] [stdout] --> src/main.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use tantan::{TanTanPrompts, Tantan}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref` and `string` [INFO] [stdout] --> src/tantan/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Deref, string}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/tantan/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::field::debug` [INFO] [stdout] --> src/tantan/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::field::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IteratorRandom` [INFO] [stdout] --> src/main.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | seq::{IndexedRandom, IteratorRandom}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tantan/mod.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut prompts_but_string: Vec = prompts.iter().map(|x| x.to_string()).collect(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_prompt` is never used [INFO] [stdout] --> src/tantan/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Prompt { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_prompt(&self, prompt: &str) -> Prompt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tantan` is never constructed [INFO] [stdout] --> src/tantan/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct Tantan { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Replies` is never constructed [INFO] [stdout] --> src/tantan/mod.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct Replies { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Prompts` is never constructed [INFO] [stdout] --> src/tantan/mod.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | struct Prompts; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Hello` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | Hello: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `hello` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `GoodMorning` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | GoodMorning: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `good_morning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Question` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | Question: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TanTan` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | TanTan: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tan_tan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WelcomeNewMember` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | WelcomeNewMember: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `welcome_new_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Blehhh` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | Blehhh: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blehhh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ColonThree` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | ColonThree: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `colon_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ILoveYou` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | ILoveYou: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ilove_you` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "60b12beee849019e156ac02aa5e7c34521f395b3616218b661826ef6d47e84ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b12beee849019e156ac02aa5e7c34521f395b3616218b661826ef6d47e84ee", kill_on_drop: false }` [INFO] [stdout] 60b12beee849019e156ac02aa5e7c34521f395b3616218b661826ef6d47e84ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 411ecd159f6cfcc89d0783f0d9d2dffe73e5fb20ff88bcfd24eea79860f2f7af [INFO] running `Command { std: "docker" "start" "-a" "411ecd159f6cfcc89d0783f0d9d2dffe73e5fb20ff88bcfd24eea79860f2f7af", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.test [INFO] [stderr] Compiling OpenTanTan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rng`, `ThreadRng`, and `distr::Uniform` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | distr::Uniform, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | rngs::{StdRng, ThreadRng}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | seq::{IndexedRandom, IteratorRandom}, [INFO] [stdout] 7 | Rng, 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 import: `Tantan` [INFO] [stdout] --> src/main.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use tantan::{TanTanPrompts, Tantan}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref` and `string` [INFO] [stdout] --> src/tantan/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Deref, string}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/tantan/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::field::debug` [INFO] [stdout] --> src/tantan/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::field::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IteratorRandom` [INFO] [stdout] --> src/main.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | seq::{IndexedRandom, IteratorRandom}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tantan/mod.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut prompts_but_string: Vec = prompts.iter().map(|x| x.to_string()).collect(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_prompt` is never used [INFO] [stdout] --> src/tantan/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Prompt { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_prompt(&self, prompt: &str) -> Prompt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tantan` is never constructed [INFO] [stdout] --> src/tantan/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct Tantan { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Replies` is never constructed [INFO] [stdout] --> src/tantan/mod.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct Replies { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Prompts` is never constructed [INFO] [stdout] --> src/tantan/mod.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | struct Prompts; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Hello` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | Hello: Vec, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `hello` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `GoodMorning` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | GoodMorning: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `good_morning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Question` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | Question: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TanTan` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | TanTan: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `tan_tan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WelcomeNewMember` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | WelcomeNewMember: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `welcome_new_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Blehhh` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | Blehhh: Vec, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `blehhh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ColonThree` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | ColonThree: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `colon_three` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ILoveYou` should have a snake case name [INFO] [stdout] --> src/tantan/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | ILoveYou: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ilove_you` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "411ecd159f6cfcc89d0783f0d9d2dffe73e5fb20ff88bcfd24eea79860f2f7af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411ecd159f6cfcc89d0783f0d9d2dffe73e5fb20ff88bcfd24eea79860f2f7af", kill_on_drop: false }` [INFO] [stdout] 411ecd159f6cfcc89d0783f0d9d2dffe73e5fb20ff88bcfd24eea79860f2f7af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 72a10ed6bed856485974a161503910f4ddbd4b4fd0f7e16fa27edd2edff4964a [INFO] running `Command { std: "docker" "start" "-a" "72a10ed6bed856485974a161503910f4ddbd4b4fd0f7e16fa27edd2edff4964a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.test [INFO] [stderr] warning: unused imports: `Rng`, `ThreadRng`, and `distr::Uniform` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | distr::Uniform, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 5 | rngs::{StdRng, ThreadRng}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | seq::{IndexedRandom, IteratorRandom}, [INFO] [stderr] 7 | Rng, SeedableRng, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Tantan` [INFO] [stderr] --> src/main.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | use tantan::{TanTanPrompts, Tantan}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ops::Deref` and `string` [INFO] [stderr] --> src/tantan/mod.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{ops::Deref, string}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::debug` [INFO] [stderr] --> src/tantan/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tracing::debug; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing_subscriber::field::debug` [INFO] [stderr] --> src/tantan/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tracing_subscriber::field::debug; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `IteratorRandom` [INFO] [stderr] --> src/main.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | seq::{IndexedRandom, IteratorRandom}, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/tantan/mod.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | let mut prompts_but_string: Vec = prompts.iter().map(|x| x.to_string()).collect(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `add_prompt` is never used [INFO] [stderr] --> src/tantan/mod.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl Prompt { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn add_prompt(&self, prompt: &str) -> Prompt { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Tantan` is never constructed [INFO] [stderr] --> src/tantan/mod.rs:130:12 [INFO] [stderr] | [INFO] [stderr] 130 | pub struct Tantan { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Replies` is never constructed [INFO] [stderr] --> src/tantan/mod.rs:134:8 [INFO] [stderr] | [INFO] [stderr] 134 | struct Replies { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Prompts` is never constructed [INFO] [stderr] --> src/tantan/mod.rs:181:8 [INFO] [stderr] | [INFO] [stderr] 181 | struct Prompts; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `Hello` should have a snake case name [INFO] [stderr] --> src/tantan/mod.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | Hello: Vec, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `hello` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `GoodMorning` should have a snake case name [INFO] [stderr] --> src/tantan/mod.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | GoodMorning: Vec, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `good_morning` [INFO] [stderr] [INFO] [stderr] warning: structure field `Question` should have a snake case name [INFO] [stderr] --> src/tantan/mod.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | Question: Vec, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `question` [INFO] [stderr] [INFO] [stderr] warning: structure field `TanTan` should have a snake case name [INFO] [stderr] --> src/tantan/mod.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | TanTan: Vec, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `tan_tan` [INFO] [stderr] [INFO] [stderr] warning: structure field `WelcomeNewMember` should have a snake case name [INFO] [stderr] --> src/tantan/mod.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | WelcomeNewMember: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `welcome_new_member` [INFO] [stderr] [INFO] [stderr] warning: structure field `Blehhh` should have a snake case name [INFO] [stderr] --> src/tantan/mod.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | Blehhh: Vec, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `blehhh` [INFO] [stderr] [INFO] [stderr] warning: structure field `ColonThree` should have a snake case name [INFO] [stderr] --> src/tantan/mod.rs:141:5 [INFO] [stderr] | [INFO] [stderr] 141 | ColonThree: Vec, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `colon_three` [INFO] [stderr] [INFO] [stderr] warning: structure field `ILoveYou` should have a snake case name [INFO] [stderr] --> src/tantan/mod.rs:142:5 [INFO] [stderr] | [INFO] [stderr] 142 | ILoveYou: Vec, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `ilove_you` [INFO] [stderr] [INFO] [stderr] warning: `OpenTanTan` (bin "OpenTanTan" test) generated 19 warnings (run `cargo fix --bin "OpenTanTan" -p OpenTanTan --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/OpenTanTan-747306e72567f768) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tantan::tests::multiprompt_eq ... ok [INFO] [stdout] test tantan::tests::prompt_hello_not_eq ... ok [INFO] [stdout] test tantan::tests::multiprompt_not_eq ... ok [INFO] [stdout] test tantan::tests::prompt_hello_eq ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "72a10ed6bed856485974a161503910f4ddbd4b4fd0f7e16fa27edd2edff4964a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a10ed6bed856485974a161503910f4ddbd4b4fd0f7e16fa27edd2edff4964a", kill_on_drop: false }` [INFO] [stdout] 72a10ed6bed856485974a161503910f4ddbd4b4fd0f7e16fa27edd2edff4964a