[INFO] cloning repository https://github.com/aleksandrpak/rust-talk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aleksandrpak/rust-talk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksandrpak%2Frust-talk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksandrpak%2Frust-talk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed25c7d85040ef552d038547bcd9f4d6476184ca
[INFO] testing aleksandrpak/rust-talk against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksandrpak%2Frust-talk" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/aleksandrpak/rust-talk on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/aleksandrpak/rust-talk
[INFO] finished tweaking git repo https://github.com/aleksandrpak/rust-talk
[INFO] tweaked toml for git repo https://github.com/aleksandrpak/rust-talk written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/aleksandrpak/rust-talk already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ca49605378010f20874ba251375d2375435ddbc4172491467da736beb9a64d4
[INFO] running `Command { std: "docker" "start" "-a" "1ca49605378010f20874ba251375d2375435ddbc4172491467da736beb9a64d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ca49605378010f20874ba251375d2375435ddbc4172491467da736beb9a64d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ca49605378010f20874ba251375d2375435ddbc4172491467da736beb9a64d4", kill_on_drop: false }`
[INFO] [stdout] 1ca49605378010f20874ba251375d2375435ddbc4172491467da736beb9a64d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 39e2af53e1de965cde19b1b6ae955bb6a3450d8cc0235e5ccc96d08cc553c28a
[INFO] running `Command { std: "docker" "start" "-a" "39e2af53e1de965cde19b1b6ae955bb6a3450d8cc0235e5ccc96d08cc553c28a", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-talk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.37s
[INFO] running `Command { std: "docker" "inspect" "39e2af53e1de965cde19b1b6ae955bb6a3450d8cc0235e5ccc96d08cc553c28a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39e2af53e1de965cde19b1b6ae955bb6a3450d8cc0235e5ccc96d08cc553c28a", kill_on_drop: false }`
[INFO] [stdout] 39e2af53e1de965cde19b1b6ae955bb6a3450d8cc0235e5ccc96d08cc553c28a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf578c568dac1cf1b236d84c338fd91c50af650c287e54fc785f8ee7bd8f0cd6
[INFO] running `Command { std: "docker" "start" "-a" "bf578c568dac1cf1b236d84c338fd91c50af650c287e54fc785f8ee7bd8f0cd6", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-talk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `foo`, which is owned by the current function
[INFO] [stdout]   --> examples/mutex.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |     thread::spawn(|| {
[INFO] [stdout]    |                   ^^ may outlive borrowed value `foo`
[INFO] [stdout] 22 |         foo.increment();
[INFO] [stdout]    |         --- `foo` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> examples/mutex.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     thread::spawn(|| {
[INFO] [stdout] 22 | |         foo.increment();
[INFO] [stdout] 23 | |     });
[INFO] [stdout]    | |______^
[INFO] [stdout] help: to force the closure to take ownership of `foo` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 21 |     thread::spawn(move || {
[INFO] [stdout]    |                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-talk` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: borrow of moved value: `vec`
[INFO] [stdout]    --> examples/for.rs:8:5
[INFO] [stdout]     |
[INFO] [stdout] 2   |     let mut vec = vec![1, 2, 3];
[INFO] [stdout]     |         ------- move occurs because `vec` has type `Vec<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] 3   | 
[INFO] [stdout] 4   |     for item in vec {
[INFO] [stdout]     |                 --- `vec` moved due to this implicit call to `.into_iter()`
[INFO] [stdout] ...
[INFO] [stdout] 8   |     vec[0] = 0;
[INFO] [stdout]     |     ^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `vec`
[INFO] [stdout] help: consider iterating over a slice of the `Vec<i32>`'s content to avoid moving into the `for` loop
[INFO] [stdout]     |
[INFO] [stdout] 4   |     for item in &vec {
[INFO] [stdout]     |                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `bar`
[INFO] [stdout]  --> examples/string_second.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     bar: String,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> examples/string_second.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `bar`
[INFO] [stdout]  --> examples/string_third.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     bar: Cow<'a, str>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> examples/string_third.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-talk` due to 2 previous errors
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/mut.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut foo = Foo::new();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0594]: cannot assign to `bar.counter`, which is behind a `&` reference
[INFO] [stdout]   --> examples/mut.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let mut bar = foo.get_bar();
[INFO] [stdout]    |             ------- help: consider changing this to be a mutable reference: `&mut Bar`
[INFO] [stdout] 27 |         bar.counter += 1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ `bar` is a `&` reference, so the data it refers to cannot be written
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0594`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-talk` due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/string_first.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let foo = Foo::new("bar");
[INFO] [stdout]    |                        ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-talk` due to 2 previous errors
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bf578c568dac1cf1b236d84c338fd91c50af650c287e54fc785f8ee7bd8f0cd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf578c568dac1cf1b236d84c338fd91c50af650c287e54fc785f8ee7bd8f0cd6", kill_on_drop: false }`
[INFO] [stdout] bf578c568dac1cf1b236d84c338fd91c50af650c287e54fc785f8ee7bd8f0cd6
