[INFO] fetching crate buddhasay 0.7.3... [INFO] testing buddhasay-0.7.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate buddhasay 0.7.3 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate buddhasay 0.7.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.209 [INFO] [stderr] Downloaded indexmap v2.5.0 [INFO] [stderr] Downloaded serde_derive v1.0.209 [INFO] [stderr] Downloaded syn v2.0.77 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8137c6676980648bc555c94ab8e81b89e115ffe899567566a23da66f2c5d2e05 [INFO] running `Command { std: "docker" "start" "-a" "8137c6676980648bc555c94ab8e81b89e115ffe899567566a23da66f2c5d2e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8137c6676980648bc555c94ab8e81b89e115ffe899567566a23da66f2c5d2e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8137c6676980648bc555c94ab8e81b89e115ffe899567566a23da66f2c5d2e05", kill_on_drop: false }` [INFO] [stdout] 8137c6676980648bc555c94ab8e81b89e115ffe899567566a23da66f2c5d2e05 [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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 42fbbcee124b95f0661ec09391996e3dc7c102e213802ed477e2c7bbeb1ea3b7 [INFO] running `Command { std: "docker" "start" "-a" "42fbbcee124b95f0661ec09391996e3dc7c102e213802ed477e2c7bbeb1ea3b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.77 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | fn split_sentence(sentence: &str) -> DrawableFortune { [INFO] [stdout] | ^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 27.28s [INFO] running `Command { std: "docker" "inspect" "42fbbcee124b95f0661ec09391996e3dc7c102e213802ed477e2c7bbeb1ea3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42fbbcee124b95f0661ec09391996e3dc7c102e213802ed477e2c7bbeb1ea3b7", kill_on_drop: false }` [INFO] [stdout] 42fbbcee124b95f0661ec09391996e3dc7c102e213802ed477e2c7bbeb1ea3b7 [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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d93e7d3f032d6c9da34b23bf3c33e73bc23e8c7006e027297eea33644c6f5840 [INFO] running `Command { std: "docker" "start" "-a" "d93e7d3f032d6c9da34b23bf3c33e73bc23e8c7006e027297eea33644c6f5840", 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)]` 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" "d93e7d3f032d6c9da34b23bf3c33e73bc23e8c7006e027297eea33644c6f5840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d93e7d3f032d6c9da34b23bf3c33e73bc23e8c7006e027297eea33644c6f5840", kill_on_drop: false }` [INFO] [stdout] d93e7d3f032d6c9da34b23bf3c33e73bc23e8c7006e027297eea33644c6f5840