[INFO] cloning repository https://github.com/fcavazzoli/async_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fcavazzoli/async_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcavazzoli%2Fasync_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcavazzoli%2Fasync_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cedd0a0b2a98113177f925547092ee97b3973dcc [INFO] checking fcavazzoli/async_test against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcavazzoli%2Fasync_test" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fcavazzoli/async_test on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fcavazzoli/async_test [INFO] finished tweaking git repo https://github.com/fcavazzoli/async_test [INFO] tweaked toml for git repo https://github.com/fcavazzoli/async_test written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fcavazzoli/async_test 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c01be9e19236e85960a0642dda21f505db1aadee3094d3717dc00b78e4ababb1 [INFO] running `Command { std: "docker" "start" "-a" "c01be9e19236e85960a0642dda21f505db1aadee3094d3717dc00b78e4ababb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c01be9e19236e85960a0642dda21f505db1aadee3094d3717dc00b78e4ababb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01be9e19236e85960a0642dda21f505db1aadee3094d3717dc00b78e4ababb1", kill_on_drop: false }` [INFO] [stdout] c01be9e19236e85960a0642dda21f505db1aadee3094d3717dc00b78e4ababb1 [INFO] checking fcavazzoli/async_test against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcavazzoli%2Fasync_test" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fcavazzoli/async_test on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fcavazzoli/async_test [INFO] finished tweaking git repo https://github.com/fcavazzoli/async_test [INFO] tweaked toml for git repo https://github.com/fcavazzoli/async_test written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fcavazzoli/async_test 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/image/overlay2/layerdb/mounts/97c9dae8187592b02ecc16dfeb4b45f23ce97bd76fbed762387ab20c8864e0ed: no space left on device [INFO] checking fcavazzoli/async_test against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcavazzoli%2Fasync_test" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fcavazzoli/async_test on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fcavazzoli/async_test [INFO] finished tweaking git repo https://github.com/fcavazzoli/async_test [INFO] tweaked toml for git repo https://github.com/fcavazzoli/async_test written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fcavazzoli/async_test 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/5a967c7666babc6f8ab80ccf53ad70eb7d3427ff2e59026a7b66f9161e4ef8b2-init: no space left on device [INFO] checking fcavazzoli/async_test against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcavazzoli%2Fasync_test" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fcavazzoli/async_test on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fcavazzoli/async_test [INFO] finished tweaking git repo https://github.com/fcavazzoli/async_test [INFO] tweaked toml for git repo https://github.com/fcavazzoli/async_test written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fcavazzoli/async_test 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83968e34c4c52ef0afd50230da12bd95e0ead8ada8ac008329f60224a738e918 [INFO] running `Command { std: "docker" "start" "-a" "83968e34c4c52ef0afd50230da12bd95e0ead8ada8ac008329f60224a738e918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83968e34c4c52ef0afd50230da12bd95e0ead8ada8ac008329f60224a738e918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83968e34c4c52ef0afd50230da12bd95e0ead8ada8ac008329f60224a738e918", kill_on_drop: false }` [INFO] [stdout] 83968e34c4c52ef0afd50230da12bd95e0ead8ada8ac008329f60224a738e918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d794bf690dcf2ce30ce2eba1f8b2765b3a46d6fd8ae73893db2e5d10a3bfd16 [INFO] running `Command { std: "docker" "start" "-a" "8d794bf690dcf2ce30ce2eba1f8b2765b3a46d6fd8ae73893db2e5d10a3bfd16", kill_on_drop: false }` [INFO] [stderr] Checking async_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `JoinHandle` and `process::Output` [INFO] [stdout] --> src/queue.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, borrow::{BorrowMut, Borrow}, thread::{JoinHandle, self}, process::Output}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/queue.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/queue.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::point::{Point, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle` and `process::Output` [INFO] [stdout] --> src/queue.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, borrow::{BorrowMut, Borrow}, thread::{JoinHandle, self}, process::Output}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/queue.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/queue.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::point::{Point, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/queue.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let string: String = format!("hola"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/queue.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let string: String = format!("hola"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add(&self, point: Point) -> Result { [INFO] [stdout] | -------------------- expected `Result` because of return type [INFO] [stdout] 18 | println!("add"); [INFO] [stdout] 19 | let thread = thread::spawn(|| async move { [INFO] [stdout] | ---------- the found `async` block [INFO] [stdout] ... [INFO] [stdout] 29 | result.and_then(|point| return Ok(point)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result<..., ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result<{async block@src/queue.rs:19:35: 19:45}, Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/queue.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add(&self, point: Point) -> Result { [INFO] [stdout] | -------------------- expected `Result` because of return type [INFO] [stdout] 18 | println!("add"); [INFO] [stdout] 19 | let thread = thread::spawn(|| async move { [INFO] [stdout] | ---------- the found `async` block [INFO] [stdout] ... [INFO] [stdout] 29 | result.and_then(|point| return Ok(point)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result<..., ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result<{async block@src/queue.rs:19:35: 19:45}, Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/queue.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, borrow::{BorrowMut, Borrow}, thread::{JoinHandle, self}, process::Output}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/queue.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, borrow::{BorrowMut, Borrow}, thread::{JoinHandle, self}, process::Output}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async_test` (bin "async_test" test) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async_test` (bin "async_test") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d794bf690dcf2ce30ce2eba1f8b2765b3a46d6fd8ae73893db2e5d10a3bfd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d794bf690dcf2ce30ce2eba1f8b2765b3a46d6fd8ae73893db2e5d10a3bfd16", kill_on_drop: false }` [INFO] [stdout] 8d794bf690dcf2ce30ce2eba1f8b2765b3a46d6fd8ae73893db2e5d10a3bfd16