[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] checking aleksandrpak/rust-talk against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksandrpak%2Frust-talk" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleksandrpak/rust-talk on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking aleksandrpak/rust-talk against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksandrpak%2Frust-talk" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleksandrpak/rust-talk on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking aleksandrpak/rust-talk against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faleksandrpak%2Frust-talk" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aleksandrpak/rust-talk on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dc409797c9f0183d3f5536967795d3ce6acb780a89101249233b44faa070b00 [INFO] running `Command { std: "docker" "start" "-a" "7dc409797c9f0183d3f5536967795d3ce6acb780a89101249233b44faa070b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dc409797c9f0183d3f5536967795d3ce6acb780a89101249233b44faa070b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc409797c9f0183d3f5536967795d3ce6acb780a89101249233b44faa070b00", kill_on_drop: false }` [INFO] [stdout] 7dc409797c9f0183d3f5536967795d3ce6acb780a89101249233b44faa070b00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 035acbb87926710242ee6d3aea6365c21220509d11a5c169f18f746851ab4fab [INFO] running `Command { std: "docker" "start" "-a" "035acbb87926710242ee6d3aea6365c21220509d11a5c169f18f746851ab4fab", kill_on_drop: false }` [INFO] [stderr] Checking rust-talk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `bar` is never read [INFO] [stdout] --> examples/string_second.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Foo { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 3 | bar: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bar` is never read [INFO] [stdout] --> examples/string_third.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Foo<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | bar: Cow<'a, str>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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] warning: variable does not need to be mutable [INFO] [stdout] --> examples/mut.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut bar = foo.get_bar(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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] 27 | bar.counter += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `bar` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider specifying this binding's type [INFO] [stdout] | [INFO] [stdout] 26 | let mut bar: &mut Bar = foo.get_bar(); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] [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`, 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: `into_iter` takes ownership of the receiver `self`, which moves `vec` [INFO] [stdout] --> /rustc/2399cef65c47f346b5fa9df51f48df0acd4a9d85/library/core/src/iter/traits/collect.rs:268:18 [INFO] [stdout] help: consider iterating over a slice of the `Vec`'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] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-talk` (example "mut") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-talk` (example "for") due to 2 previous errors [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 1 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` (example "mutex") due to 2 previous errors [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 `String`, found `&str` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> examples/string_first.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(bar: String) -> Foo { [INFO] [stdout] | ^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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` (example "string_first") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "035acbb87926710242ee6d3aea6365c21220509d11a5c169f18f746851ab4fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "035acbb87926710242ee6d3aea6365c21220509d11a5c169f18f746851ab4fab", kill_on_drop: false }` [INFO] [stdout] 035acbb87926710242ee6d3aea6365c21220509d11a5c169f18f746851ab4fab