[INFO] cloning repository https://github.com/lusan/learn-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lusan/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusan%2Flearn-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusan%2Flearn-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ea0002e08ecbb42bb8ab91cfae8f178f495383c0
[INFO] testing lusan/learn-rust against 1.83.0 for beta-1.84.0-4-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusan%2Flearn-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lusan/learn-rust on toolchain 1.83.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/lusan/learn-rust
[INFO] finished tweaking git repo https://github.com/lusan/learn-rust
[INFO] tweaked toml for git repo https://github.com/lusan/learn-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/lusan/learn-rust 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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dd9131bc569d759a2ef5f41ad01987970a22a7151632004234611c09dab74a56
[INFO] running `Command { std: "docker" "start" "-a" "dd9131bc569d759a2ef5f41ad01987970a22a7151632004234611c09dab74a56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd9131bc569d759a2ef5f41ad01987970a22a7151632004234611c09dab74a56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd9131bc569d759a2ef5f41ad01987970a22a7151632004234611c09dab74a56", kill_on_drop: false }`
[INFO] [stdout] dd9131bc569d759a2ef5f41ad01987970a22a7151632004234611c09dab74a56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f0e02274d821c6891ddc3c72cd75f998d192f450fdd33abfb464ab303be0d9e5
[INFO] running `Command { std: "docker" "start" "-a" "f0e02274d821c6891ddc3c72cd75f998d192f450fdd33abfb464ab303be0d9e5", kill_on_drop: false }`
[INFO] [stderr]    Compiling hello_cargo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:5:27
[INFO] [stdout]    |
[INFO] [stdout] 5  |     let word = first_word(&my_string[0..6]);
[INFO] [stdout]    |                ---------- ^^^^^^^^^^^^^^^^ expected `&String`, found `&str`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&str`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn first_word(s: &String) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:6:27
[INFO] [stdout]    |
[INFO] [stdout] 6  |     let word = first_word(&my_string[..]);
[INFO] [stdout]    |                ---------- ^^^^^^^^^^^^^^ expected `&String`, found `&str`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&str`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn first_word(s: &String) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let word = first_word(&my_string_literal[0..6]);
[INFO] [stdout]    |                ---------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&String`, found `&str`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&str`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn first_word(s: &String) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let word = first_word(&my_string_literal[..]);
[INFO] [stdout]    |                ---------- ^^^^^^^^^^^^^^^^^^^^^^ expected `&String`, found `&str`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&str`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn first_word(s: &String) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let word = first_word(my_string_literal);
[INFO] [stdout]    |                ---------- ^^^^^^^^^^^^^^^^^ expected `&String`, found `&str`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&String`
[INFO] [stdout]               found reference `&str`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn first_word(s: &String) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_cargo` (bin "hello_cargo") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "f0e02274d821c6891ddc3c72cd75f998d192f450fdd33abfb464ab303be0d9e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0e02274d821c6891ddc3c72cd75f998d192f450fdd33abfb464ab303be0d9e5", kill_on_drop: false }`
[INFO] [stdout] f0e02274d821c6891ddc3c72cd75f998d192f450fdd33abfb464ab303be0d9e5
