[INFO] crate async-thread 0.1.2 is already in cache [INFO] testing async-thread-0.1.2 against 1.44.0 for beta-1.45-1 [INFO] extracting crate async-thread 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate async-thread 0.1.2 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate async-thread 0.1.2 [INFO] finished tweaking crates.io crate async-thread 0.1.2 [INFO] tweaked toml for crates.io crate async-thread 0.1.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c36ff81f0a05da0b476c8cf142d5399b3f3bc010458c3ae77e9fa17901b234ce [INFO] running `"docker" "start" "-a" "c36ff81f0a05da0b476c8cf142d5399b3f3bc010458c3ae77e9fa17901b234ce"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling async-thread v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `"docker" "inspect" "c36ff81f0a05da0b476c8cf142d5399b3f3bc010458c3ae77e9fa17901b234ce"` [INFO] running `"docker" "rm" "-f" "c36ff81f0a05da0b476c8cf142d5399b3f3bc010458c3ae77e9fa17901b234ce"` [INFO] [stdout] c36ff81f0a05da0b476c8cf142d5399b3f3bc010458c3ae77e9fa17901b234ce [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aaaf26cee27c4362fd540d70c363935330c33912597c6d93b32143defb8f866c [INFO] running `"docker" "start" "-a" "aaaf26cee27c4362fd540d70c363935330c33912597c6d93b32143defb8f866c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling piper v0.1.3 [INFO] [stderr] Compiling smol v0.1.11 [INFO] [stderr] Compiling async-std v1.6.0 [INFO] [stderr] Compiling async-thread v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 42.05s [INFO] running `"docker" "inspect" "aaaf26cee27c4362fd540d70c363935330c33912597c6d93b32143defb8f866c"` [INFO] running `"docker" "rm" "-f" "aaaf26cee27c4362fd540d70c363935330c33912597c6d93b32143defb8f866c"` [INFO] [stdout] aaaf26cee27c4362fd540d70c363935330c33912597c6d93b32143defb8f866c [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 68c50e41ba56087351fc57843371c9a2ea86ac921cc748f656e6fdf37e57bd99 [INFO] running `"docker" "start" "-a" "68c50e41ba56087351fc57843371c9a2ea86ac921cc748f656e6fdf37e57bd99"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/async_thread-cef1c932870575bc [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests async-thread [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - spawn (line 362) ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 340) ... FAILED [INFO] [stdout] test src/lib.rs - JoinHandle (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - JoinHandle::join (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::new (line 172) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::name (line 199) ... FAILED [INFO] [stdout] test src/lib.rs - Builder::spawn (line 256) ... FAILED [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 326) ... FAILED [INFO] [stdout] test src/lib.rs - JoinHandle (line 30) ... ok [INFO] [stdout] test src/lib.rs - Builder::stack_size (line 225) ... ok [INFO] [stdout] test src/lib.rs - Builder (line 150) ... ok [INFO] [stdout] test src/lib.rs - JoinHandle::thread (line 113) ... ok [INFO] [stdout] test src/lib.rs - JoinHandle (line 38) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - spawn (line 362) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:368:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | let result = computation.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - spawn (line 340) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | sender.join().await.expect("The sender thread has panicked"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:356:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 19 | receiver.join().await.expect("The receiver thread has panicked"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - JoinHandle (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 9 | thread::sleep(Duration::from_millis(10)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 21 | thread::sleep(Duration::from_millis(1000)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | original_thread.join().await.expect("The thread being joined has panicked"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - JoinHandle::join (line 92) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | join_handle.join().await.expect("Couldn't join on the associated thread"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Builder::new (line 172) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | handler.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Builder::name (line 199) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stdout] --> src/lib.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(thread::current().name(), Some("foo")) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | handler.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Builder::spawn (line 256) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | handler.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 3) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `spawn` in module `crate` [INFO] [stdout] --> src/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 3 | let handle = crate::spawn(|| 5usize); [INFO] [stdout] | ^^^^^ not found in `crate` [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use async_std::task::spawn; [INFO] [stdout] | [INFO] [stdout] 2 | use async_thread::spawn; [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 3 | let handle = crate::spawn(|| 5usize); [INFO] [stdout] 4 | assert_eq!(handle.join().await.map_err(drop), Ok(5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - spawn (line 326) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | handler.join().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 3) [INFO] [stdout] src/lib.rs - Builder::name (line 199) [INFO] [stdout] src/lib.rs - Builder::new (line 172) [INFO] [stdout] src/lib.rs - Builder::spawn (line 256) [INFO] [stdout] src/lib.rs - JoinHandle (line 48) [INFO] [stdout] src/lib.rs - JoinHandle::join (line 92) [INFO] [stdout] src/lib.rs - spawn (line 326) [INFO] [stdout] src/lib.rs - spawn (line 340) [INFO] [stdout] src/lib.rs - spawn (line 362) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "68c50e41ba56087351fc57843371c9a2ea86ac921cc748f656e6fdf37e57bd99"` [INFO] running `"docker" "rm" "-f" "68c50e41ba56087351fc57843371c9a2ea86ac921cc748f656e6fdf37e57bd99"` [INFO] [stdout] 68c50e41ba56087351fc57843371c9a2ea86ac921cc748f656e6fdf37e57bd99