[INFO] cloning repository https://github.com/Nefanator/starshine-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nefanator/starshine-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNefanator%2Fstarshine-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNefanator%2Fstarshine-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec2b8bb2dd6f0482510c98c630156dea0b39f0e1 [INFO] checking Nefanator/starshine-rs/ec2b8bb2dd6f0482510c98c630156dea0b39f0e1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNefanator%2Fstarshine-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nefanator/starshine-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nefanator/starshine-rs [INFO] finished tweaking git repo https://github.com/Nefanator/starshine-rs [INFO] tweaked toml for git repo https://github.com/Nefanator/starshine-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Nefanator/starshine-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6891957e4b2b23602d82d7f98a5da47c1c381d062d92878e652c63353e16111 [INFO] running `Command { std: "docker" "start" "-a" "d6891957e4b2b23602d82d7f98a5da47c1c381d062d92878e652c63353e16111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6891957e4b2b23602d82d7f98a5da47c1c381d062d92878e652c63353e16111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6891957e4b2b23602d82d7f98a5da47c1c381d062d92878e652c63353e16111", kill_on_drop: false }` [INFO] [stdout] d6891957e4b2b23602d82d7f98a5da47c1c381d062d92878e652c63353e16111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb29ad42bf5e9ed6403bb9e4f09c9190496417ebe770909e77847769bf28664f [INFO] running `Command { std: "docker" "start" "-a" "cb29ad42bf5e9ed6403bb9e4f09c9190496417ebe770909e77847769bf28664f", kill_on_drop: false }` [INFO] [stderr] Checking starshine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn run(command: &Command) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn run(command: &Command) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/integration_tests.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | let add_user_args: Vec = String::new("Starshine.exe add Nathan").split_whitespace().collect(); [INFO] [stdout] | ^^^^^^^^^^^ -------------------------- unexpected argument of type `&'static str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:18 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 5 - let add_user_args: Vec = String::new("Starshine.exe add Nathan").split_whitespace().collect(); [INFO] [stdout] 5 + let add_user_args: Vec = String::new().split_whitespace().collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `&str` [INFO] [stdout] --> tests/integration_tests.rs:5:97 [INFO] [stdout] | [INFO] [stdout] 5 | let add_user_args: Vec = String::new("Starshine.exe add Nathan").split_whitespace().collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&str>` is not implemented for `Vec` [INFO] [stdout] = help: the trait `FromIterator` is implemented for `Vec` [INFO] [stdout] = help: for that trait implementation, expected `String`, found `&str` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> tests/integration_tests.rs:5:78 [INFO] [stdout] | [INFO] [stdout] 5 | let add_user_args: Vec = String::new("Starshine.exe add Nathan").split_whitespace().collect(); [INFO] [stdout] | --------------------------------------- ^^^^^^^^^^^^^^^^^^ `Iterator::Item` is `&str` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `String` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:1996:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `String` and `String: FromIterator<&str>` trivially holds [INFO] [stdout] | [INFO] [stdout] 5 - let add_user_args: Vec = String::new("Starshine.exe add Nathan").split_whitespace().collect(); [INFO] [stdout] 5 + let add_user_args: Vec = String::new("Starshine.exe add Nathan").collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/integration_tests.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | let check_user_args: Vec = String::new("Starshine.exe check Nathan").split_whitespace().collect(); [INFO] [stdout] | ^^^^^^^^^^^ ---------------------------- unexpected argument of type `&'static str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445:18 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 6 - let check_user_args: Vec = String::new("Starshine.exe check Nathan").split_whitespace().collect(); [INFO] [stdout] 6 + let check_user_args: Vec = String::new().split_whitespace().collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `&str` [INFO] [stdout] --> tests/integration_tests.rs:6:101 [INFO] [stdout] | [INFO] [stdout] 6 | let check_user_args: Vec = String::new("Starshine.exe check Nathan").split_whitespace().collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&str>` is not implemented for `Vec` [INFO] [stdout] = help: the trait `FromIterator` is implemented for `Vec` [INFO] [stdout] = help: for that trait implementation, expected `String`, found `&str` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> tests/integration_tests.rs:6:82 [INFO] [stdout] | [INFO] [stdout] 6 | let check_user_args: Vec = String::new("Starshine.exe check Nathan").split_whitespace().collect(); [INFO] [stdout] | ----------------------------------------- ^^^^^^^^^^^^^^^^^^ `Iterator::Item` is `&str` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `String` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:1996:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `String` and `String: FromIterator<&str>` trivially holds [INFO] [stdout] | [INFO] [stdout] 6 - let check_user_args: Vec = String::new("Starshine.exe check Nathan").split_whitespace().collect(); [INFO] [stdout] 6 + let check_user_args: Vec = String::new("Starshine.exe check Nathan").collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `starshine` (test "integration_tests") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "cb29ad42bf5e9ed6403bb9e4f09c9190496417ebe770909e77847769bf28664f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb29ad42bf5e9ed6403bb9e4f09c9190496417ebe770909e77847769bf28664f", kill_on_drop: false }` [INFO] [stdout] cb29ad42bf5e9ed6403bb9e4f09c9190496417ebe770909e77847769bf28664f