[INFO] fetching crate buddhasay 0.7.3... [INFO] testing buddhasay-0.7.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate buddhasay 0.7.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate buddhasay 0.7.3 [INFO] finished tweaking crates.io crate buddhasay 0.7.3 [INFO] tweaked toml for crates.io crate buddhasay 0.7.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate buddhasay 0.7.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate buddhasay 0.7.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c69c0084a13b04752f7cd2fc3574999f656391532eedc45227276ed5d00c75de [INFO] running `Command { std: "docker" "start" "-a" "c69c0084a13b04752f7cd2fc3574999f656391532eedc45227276ed5d00c75de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c69c0084a13b04752f7cd2fc3574999f656391532eedc45227276ed5d00c75de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69c0084a13b04752f7cd2fc3574999f656391532eedc45227276ed5d00c75de", kill_on_drop: false }` [INFO] [stdout] c69c0084a13b04752f7cd2fc3574999f656391532eedc45227276ed5d00c75de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 960c0ebd69e2c3c5e5d9dd68609934a1a3b9207df4cc24db39e33bf0f2b9d67e [INFO] running `Command { std: "docker" "start" "-a" "960c0ebd69e2c3c5e5d9dd68609934a1a3b9207df4cc24db39e33bf0f2b9d67e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling buddhasay v0.7.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `alt_split` is never used [INFO] [stdout] --> src/main.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn alt_split(sentence: &mut str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | fn split_sentence(sentence: &str) -> DrawableFortune { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 183 | fn split_sentence(sentence: &str) -> DrawableFortune<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.07s [INFO] running `Command { std: "docker" "inspect" "960c0ebd69e2c3c5e5d9dd68609934a1a3b9207df4cc24db39e33bf0f2b9d67e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "960c0ebd69e2c3c5e5d9dd68609934a1a3b9207df4cc24db39e33bf0f2b9d67e", kill_on_drop: false }` [INFO] [stdout] 960c0ebd69e2c3c5e5d9dd68609934a1a3b9207df4cc24db39e33bf0f2b9d67e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4086e7179f66c3606d738aaf759333d96e0a84045ea6887135a2f82af4d8fbe6 [INFO] running `Command { std: "docker" "start" "-a" "4086e7179f66c3606d738aaf759333d96e0a84045ea6887135a2f82af4d8fbe6", kill_on_drop: false }` [INFO] [stderr] Compiling buddhasay v0.7.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | use std::fmt::format; [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: `alt_split` [INFO] [stdout] --> src/main.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | use crate::{alt_split, WRAP_INDEX}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `std::string::String` cannot be built from an iterator over elements of type `&std::string::String` [INFO] [stdout] --> src/main.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | lines.push(String::from_iter(vec.iter())); [INFO] [stdout] | ^^^^^^ value of type `std::string::String` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&std::string::String>` is not implemented for `std::string::String` [INFO] [stdout] = help: the following other types implement trait `FromIterator`: [INFO] [stdout] `std::string::String` implements `FromIterator<&char>` [INFO] [stdout] `std::string::String` implements `FromIterator<&str>` [INFO] [stdout] `std::string::String` implements `FromIterator>` [INFO] [stdout] `std::string::String` implements `FromIterator>` [INFO] [stdout] `std::string::String` implements `FromIterator` [INFO] [stdout] `std::string::String` implements `FromIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `buddhasay` (bin "buddhasay" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4086e7179f66c3606d738aaf759333d96e0a84045ea6887135a2f82af4d8fbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4086e7179f66c3606d738aaf759333d96e0a84045ea6887135a2f82af4d8fbe6", kill_on_drop: false }` [INFO] [stdout] 4086e7179f66c3606d738aaf759333d96e0a84045ea6887135a2f82af4d8fbe6