[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNefanator%2Fstarshine-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nefanator/starshine-rs on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-0-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f6af22e6b454943575d333dfefd7526bb410df14c0a28b0fd3632d851acc612 [INFO] running `Command { std: "docker" "start" "-a" "6f6af22e6b454943575d333dfefd7526bb410df14c0a28b0fd3632d851acc612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f6af22e6b454943575d333dfefd7526bb410df14c0a28b0fd3632d851acc612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f6af22e6b454943575d333dfefd7526bb410df14c0a28b0fd3632d851acc612", kill_on_drop: false }` [INFO] [stdout] 6f6af22e6b454943575d333dfefd7526bb410df14c0a28b0fd3632d851acc612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af166d79c74a24368b542008338e7a3b99ea4b3cdcf45cfd4fdbb99c5488f2ee [INFO] running `Command { std: "docker" "start" "-a" "af166d79c74a24368b542008338e7a3b99ea4b3cdcf45cfd4fdbb99c5488f2ee", kill_on_drop: false }` [INFO] [stderr] Checking starshine v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^ -------------------------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument of type `&'static str` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:18 [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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:2001: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] | ^^^^^^^^^^^ ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | unexpected argument of type `&'static str` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:18 [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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:2001: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" "af166d79c74a24368b542008338e7a3b99ea4b3cdcf45cfd4fdbb99c5488f2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af166d79c74a24368b542008338e7a3b99ea4b3cdcf45cfd4fdbb99c5488f2ee", kill_on_drop: false }` [INFO] [stdout] af166d79c74a24368b542008338e7a3b99ea4b3cdcf45cfd4fdbb99c5488f2ee