[INFO] fetching crate mirai_rs 0.1.1... [INFO] testing mirai_rs-0.1.1 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate mirai_rs 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate mirai_rs 0.1.1 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate mirai_rs 0.1.1 [INFO] finished tweaking crates.io crate mirai_rs 0.1.1 [INFO] tweaked toml for crates.io crate mirai_rs 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate mirai_rs 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 7dd1e929f0cc535e18792f5103baff817ce7d37f125d91c91fb32c823e36af4e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "7dd1e929f0cc535e18792f5103baff817ce7d37f125d91c91fb32c823e36af4e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cc v1.0.51 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling mirai_rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.21s [INFO] running `"docker" "inspect" "7dd1e929f0cc535e18792f5103baff817ce7d37f125d91c91fb32c823e36af4e"` [INFO] running `"docker" "rm" "-f" "7dd1e929f0cc535e18792f5103baff817ce7d37f125d91c91fb32c823e36af4e"` [INFO] [stdout] 7dd1e929f0cc535e18792f5103baff817ce7d37f125d91c91fb32c823e36af4e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-06-03" "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] 1a04d0f4bddbc3db1c484a72583d35ffc6b181bfdec2815c3667cd79029eefb6 [INFO] running `"docker" "start" "-a" "1a04d0f4bddbc3db1c484a72583d35ffc6b181bfdec2815c3667cd79029eefb6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling mirai_rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> examples/subscribe.rs:29:33 [INFO] [stderr] | [INFO] [stderr] 29 | ... subscriber.send(mp.clone()); // TODO: use Result [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.34s [INFO] running `"docker" "inspect" "1a04d0f4bddbc3db1c484a72583d35ffc6b181bfdec2815c3667cd79029eefb6"` [INFO] running `"docker" "rm" "-f" "1a04d0f4bddbc3db1c484a72583d35ffc6b181bfdec2815c3667cd79029eefb6"` [INFO] [stdout] 1a04d0f4bddbc3db1c484a72583d35ffc6b181bfdec2815c3667cd79029eefb6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stdout] 0f36bbaf16f538af6d97781b9d3f953acbda8364114eaf8f8a9c9fd9752f7020 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "0f36bbaf16f538af6d97781b9d3f953acbda8364114eaf8f8a9c9fd9752f7020"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> examples/subscribe.rs:29:33 [INFO] [stderr] | [INFO] [stderr] 29 | ... subscriber.send(mp.clone()); // TODO: use Result [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mirai-e362636b6bd78fba [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests mirai [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/session.rs - session (line 19) ... FAILED [INFO] [stdout] test src/session.rs - session (line 34) ... FAILED [INFO] [stdout] test src/message/channel.rs - message::channel (line 13) ... FAILED [INFO] [stdout] test src/session.rs - session (line 25) ... FAILED [INFO] [stdout] test src/message/mod.rs - message (line 17) ... ok [INFO] [stdout] test src/session.rs - session (line 7) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/session.rs - session (line 19) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `server` in this scope [INFO] [stdout] --> src/session.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 3 | let session = server.auth("auth_key_should_be_kept_secret"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session (line 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/session.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 3 | session.release(account); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account` in this scope [INFO] [stdout] --> src/session.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 3 | session.release(account); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/channel.rs - message::channel (line 13) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `my_session` in this scope [INFO] [stdout] --> src/message/channel.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 7 | let session: Session = my_session; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `group` in this scope [INFO] [stdout] --> src/message/channel.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 8 | let target_channel = MessageChannel::Group(group); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/message/channel.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | session.send_message(&target_channel, &message).await.unwrap(); [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: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/session.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 4 | session.verify(account); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/message/channel.rs - message::channel (line 13) [INFO] [stdout] src/session.rs - session (line 19) [INFO] [stdout] src/session.rs - session (line 25) [INFO] [stdout] src/session.rs - session (line 34) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "0f36bbaf16f538af6d97781b9d3f953acbda8364114eaf8f8a9c9fd9752f7020"` [INFO] running `"docker" "rm" "-f" "0f36bbaf16f538af6d97781b9d3f953acbda8364114eaf8f8a9c9fd9752f7020"` [INFO] [stdout] 0f36bbaf16f538af6d97781b9d3f953acbda8364114eaf8f8a9c9fd9752f7020