[INFO] fetching crate sampr 0.1.0... [INFO] testing sampr-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate sampr 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sampr 0.1.0 [INFO] finished tweaking crates.io crate sampr 0.1.0 [INFO] tweaked toml for crates.io crate sampr 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sampr 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sampr 0.1.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1010c3aa81eff39af85a8665da14bc5be6cd43e4cbb19bac253b43e80790ebe [INFO] running `Command { std: "docker" "start" "-a" "f1010c3aa81eff39af85a8665da14bc5be6cd43e4cbb19bac253b43e80790ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1010c3aa81eff39af85a8665da14bc5be6cd43e4cbb19bac253b43e80790ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1010c3aa81eff39af85a8665da14bc5be6cd43e4cbb19bac253b43e80790ebe", kill_on_drop: false }` [INFO] [stdout] f1010c3aa81eff39af85a8665da14bc5be6cd43e4cbb19bac253b43e80790ebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6734a9f6215d5e37a545ca566690a562437a48216556943846478034ebc8818b [INFO] running `Command { std: "docker" "start" "-a" "6734a9f6215d5e37a545ca566690a562437a48216556943846478034ebc8818b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling sampr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.60s [INFO] running `Command { std: "docker" "inspect" "6734a9f6215d5e37a545ca566690a562437a48216556943846478034ebc8818b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6734a9f6215d5e37a545ca566690a562437a48216556943846478034ebc8818b", kill_on_drop: false }` [INFO] [stdout] 6734a9f6215d5e37a545ca566690a562437a48216556943846478034ebc8818b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b11b3b14821654a7c6a4095321ec8086ac4d23b772e816e097c55e9108bb076 [INFO] running `Command { std: "docker" "start" "-a" "1b11b3b14821654a7c6a4095321ec8086ac4d23b772e816e097c55e9108bb076", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling sampr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.59s [INFO] running `Command { std: "docker" "inspect" "1b11b3b14821654a7c6a4095321ec8086ac4d23b772e816e097c55e9108bb076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b11b3b14821654a7c6a4095321ec8086ac4d23b772e816e097c55e9108bb076", kill_on_drop: false }` [INFO] [stdout] 1b11b3b14821654a7c6a4095321ec8086ac4d23b772e816e097c55e9108bb076 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] deee0893a10c9ba8ebd557974ebd1d2e68a7e057c2ae90b8c749cc90163cb325 [INFO] running `Command { std: "docker" "start" "-a" "deee0893a10c9ba8ebd557974ebd1d2e68a7e057c2ae90b8c749cc90163cb325", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sampr-b017b6e12478239e) [INFO] [stderr] Running tests/smoke.rs (/opt/rustwide/target/debug/deps/smoke-9968fd7e05322a6a) [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; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_actor_message_result ... ok [INFO] [stdout] test test_actor_send_after_stop ... ok [INFO] [stdout] test test_actor_start_stop ... ok [INFO] [stdout] test test_actor_stream ... ok [INFO] [stdout] test test_actor_spawn ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sampr [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/actor.rs - actor::Actor (line 83) ... ok [INFO] [stdout] test src/lib.rs - (line 34) ... ok [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 53) stdout ---- [INFO] [stdout] error[E0599]: no method named `start` found for struct `MyActor` in the current scope [INFO] [stdout] --> src/lib.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyActor; [INFO] [stdout] | -------------- method `start` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 10 | let addr = actor.start(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/actor.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn start(self) -> Addr { [INFO] [stdout] | ----- the method is available for `MyActor` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `started` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/actor.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | fn started(&mut self, _ctx: &mut Context) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Actor` which provides `start` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::sampr::Actor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 53) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "deee0893a10c9ba8ebd557974ebd1d2e68a7e057c2ae90b8c749cc90163cb325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deee0893a10c9ba8ebd557974ebd1d2e68a7e057c2ae90b8c749cc90163cb325", kill_on_drop: false }` [INFO] [stdout] deee0893a10c9ba8ebd557974ebd1d2e68a7e057c2ae90b8c749cc90163cb325