[INFO] updating cached repository aleksandrpak/rust-talk
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/aleksandrpak/rust-talk
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/aleksandrpak/rust-talk" "work/ex/beta-1.37-6/sources/1.36.0/gh/aleksandrpak/rust-talk"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/aleksandrpak/rust-talk'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/aleksandrpak/rust-talk" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/aleksandrpak/rust-talk"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/aleksandrpak/rust-talk'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] ed25c7d85040ef552d038547bcd9f4d6476184ca
[INFO] sha for GitHub repo aleksandrpak/rust-talk: ed25c7d85040ef552d038547bcd9f4d6476184ca
[INFO] validating manifest of aleksandrpak/rust-talk on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of aleksandrpak/rust-talk on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing aleksandrpak/rust-talk
[INFO] finished frobbing aleksandrpak/rust-talk
[INFO] frobbed toml for aleksandrpak/rust-talk written to work/ex/beta-1.37-6/sources/1.36.0/gh/aleksandrpak/rust-talk/Cargo.toml
[INFO] started frobbing aleksandrpak/rust-talk
[INFO] finished frobbing aleksandrpak/rust-talk
[INFO] frobbed toml for aleksandrpak/rust-talk written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/aleksandrpak/rust-talk/Cargo.toml
[INFO] crate aleksandrpak/rust-talk already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache lock
[INFO] [stderr]     Blocking waiting for file lock on package cache lock
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing aleksandrpak/rust-talk against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/aleksandrpak/rust-talk:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"`
[INFO] [stdout] 3d280d8da4d879b616cd4ff3789c7370e2a3ffba4128f1b66b4180dfa2770a79
[INFO] running `"docker" "start" "-a" "3d280d8da4d879b616cd4ff3789c7370e2a3ffba4128f1b66b4180dfa2770a79"`
[INFO] [stderr]    Compiling rust-talk v0.1.0 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `"docker" "inspect" "3d280d8da4d879b616cd4ff3789c7370e2a3ffba4128f1b66b4180dfa2770a79"`
[INFO] running `"docker" "rm" "-f" "3d280d8da4d879b616cd4ff3789c7370e2a3ffba4128f1b66b4180dfa2770a79"`
[INFO] [stdout] 3d280d8da4d879b616cd4ff3789c7370e2a3ffba4128f1b66b4180dfa2770a79
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/aleksandrpak/rust-talk:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "test" "--frozen" "--no-run"`
[INFO] [stdout] 47a63bf4797e0bc077477ab0945e20974fd348fc2103254841f037b92c0dcdc6
[INFO] running `"docker" "start" "-a" "47a63bf4797e0bc077477ab0945e20974fd348fc2103254841f037b92c0dcdc6"`
[INFO] [stderr]    Compiling rust-talk v0.1.0 (/opt/crater/workdir)
[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] 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] error: Could not compile `rust-talk`.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] 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 reference
[INFO] [stderr]    |                        help: try using a conversion method: `"bar".to_string()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `std::string::String`
[INFO] [stderr]               found type `&'static str`
[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] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "47a63bf4797e0bc077477ab0945e20974fd348fc2103254841f037b92c0dcdc6"`
[INFO] running `"docker" "rm" "-f" "47a63bf4797e0bc077477ab0945e20974fd348fc2103254841f037b92c0dcdc6"`
[INFO] [stdout] 47a63bf4797e0bc077477ab0945e20974fd348fc2103254841f037b92c0dcdc6
