[INFO] updating cached repository https://github.com/aleksandrpak/rust-talk
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] ed25c7d85040ef552d038547bcd9f4d6476184ca
[INFO] checking aleksandrpak/rust-talk against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksandrpak%2Frust-talk" "/workspace/builds/worker-5/source"`
[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 bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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 `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2f4649c4e8c78358ed789aeac29d35ad23bbeba73d0be328339fc9a5924bdd00
[INFO] running `"docker" "start" "-a" "2f4649c4e8c78358ed789aeac29d35ad23bbeba73d0be328339fc9a5924bdd00"`
[INFO] [stderr]     Checking rust-talk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0382]: borrow of moved value: `vec`
[INFO] [stderr]  --> examples/for.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 2 |     let mut vec = vec![1, 2, 3];
[INFO] [stderr]   |         ------- move occurs because `vec` has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait
[INFO] [stderr] 3 | 
[INFO] [stderr] 4 |     for item in vec {
[INFO] [stderr]   |                 ---
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 value moved here
[INFO] [stderr]   |                 help: consider borrowing to avoid moving into the for loop: `&vec`
[INFO] [stderr] ...
[INFO] [stderr] 8 |     vec[0] = 0;
[INFO] [stderr]   |     ^^^ value borrowed here after move
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0382`.
[INFO] [stderr] error: could not compile `rust-talk`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `foo`, which is owned by the current function
[INFO] [stderr]   --> examples/mutex.rs:21:19
[INFO] [stderr]    |
[INFO] [stderr] 21 |     thread::spawn(|| {
[INFO] [stderr]    |                   ^^ may outlive borrowed value `foo`
[INFO] [stderr] 22 |         foo.increment();
[INFO] [stderr]    |         --- `foo` is borrowed here
[INFO] [stderr]    |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]   --> examples/mutex.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | /     thread::spawn(|| {
[INFO] [stderr] 22 | |         foo.increment();
[INFO] [stderr] 23 | |     });
[INFO] [stderr]    | |______^
[INFO] [stderr] help: to force the closure to take ownership of `foo` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]    |
[INFO] [stderr] 21 |     thread::spawn(move || {
[INFO] [stderr]    |                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0373`.
[INFO] [stderr] error: could not compile `rust-talk`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> examples/mut.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let mut foo = Foo::new();
[INFO] [stderr]    |         ----^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0594]: cannot assign to `bar.counter` which is behind a `&` reference
[INFO] [stderr]   --> examples/mut.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |         let mut bar = foo.get_bar();
[INFO] [stderr]    |             ------- help: consider changing this to be a mutable reference: `&mut Bar`
[INFO] [stderr] 27 |         bar.counter += 1;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ `bar` is a `&` reference, so the data it refers to cannot be written
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0594`.
[INFO] [stderr] error: could not compile `rust-talk`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> examples/string_first.rs:13:24
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let foo = Foo::new("bar");
[INFO] [stderr]    |                        ^^^^^
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        expected struct `std::string::String`, found `&str`
[INFO] [stderr]    |                        help: try using a conversion method: `"bar".to_string()`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `rust-talk`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "2f4649c4e8c78358ed789aeac29d35ad23bbeba73d0be328339fc9a5924bdd00"`
[INFO] running `"docker" "rm" "-f" "2f4649c4e8c78358ed789aeac29d35ad23bbeba73d0be328339fc9a5924bdd00"`
[INFO] [stdout] 2f4649c4e8c78358ed789aeac29d35ad23bbeba73d0be328339fc9a5924bdd00
