[INFO] fetching crate moire 1.0.1... [INFO] testing moire-1.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate moire 1.0.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate moire 1.0.1 [INFO] finished tweaking crates.io crate moire 1.0.1 [INFO] tweaked toml for crates.io crate moire 1.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate moire 1.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate moire 1.0.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1648a4003c1cade0ab24b7b2baf81b0664c2df6044c675c37ef954c024e03876 [INFO] running `Command { std: "docker" "start" "-a" "1648a4003c1cade0ab24b7b2baf81b0664c2df6044c675c37ef954c024e03876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1648a4003c1cade0ab24b7b2baf81b0664c2df6044c675c37ef954c024e03876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1648a4003c1cade0ab24b7b2baf81b0664c2df6044c675c37ef954c024e03876", kill_on_drop: false }` [INFO] [stdout] 1648a4003c1cade0ab24b7b2baf81b0664c2df6044c675c37ef954c024e03876 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96437e397e3a956e6807f984be4926d3f27de5eacbffa68319ec00ab0b76e23a [INFO] running `Command { std: "docker" "start" "-a" "96437e397e3a956e6807f984be4926d3f27de5eacbffa68319ec00ab0b76e23a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling const-fnv1a-hash v1.1.0 [INFO] [stderr] Compiling impls v1.0.3 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling mutants v0.0.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling smallvec v2.0.0-alpha.12 [INFO] [stderr] Compiling facet-core v0.46.0 [INFO] [stderr] Compiling facet v0.46.0 [INFO] [stderr] Compiling moire-macros-noop v1.0.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unsynn v0.3.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling facet-macro-types v0.46.0 [INFO] [stderr] Compiling facet-macro-parse v0.46.0 [INFO] [stderr] Compiling facet-path v0.46.0 [INFO] [stderr] Compiling facet-macros-impl v0.46.0 [INFO] [stderr] Compiling facet-reflect v0.46.0 [INFO] [stderr] Compiling facet-solver v0.46.0 [INFO] [stderr] Compiling facet-dessert v0.46.0 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling facet-format v0.47.0 [INFO] [stderr] Compiling tokio v1.52.0 [INFO] [stderr] Compiling facet-value v0.46.0 [INFO] [stderr] Compiling facet-macros v0.46.0 [INFO] [stderr] Compiling moire-trace-types v1.0.1 [INFO] [stderr] Compiling facet-json v0.46.0 [INFO] [stderr] Compiling moire-types v1.0.1 [INFO] [stderr] Compiling moire-trace-capture v1.0.1 [INFO] [stderr] Compiling moire-wire v1.0.1 [INFO] [stderr] Compiling moire-runtime v1.0.1 [INFO] [stderr] Compiling moire-tokio v1.0.1 [INFO] [stderr] Compiling moire v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.74s [INFO] running `Command { std: "docker" "inspect" "96437e397e3a956e6807f984be4926d3f27de5eacbffa68319ec00ab0b76e23a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96437e397e3a956e6807f984be4926d3f27de5eacbffa68319ec00ab0b76e23a", kill_on_drop: false }` [INFO] [stdout] 96437e397e3a956e6807f984be4926d3f27de5eacbffa68319ec00ab0b76e23a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fb4cb5cbe5b63cebc023fe2e1d85693018fe3f544d449339d0f184626986a49 [INFO] running `Command { std: "docker" "start" "-a" "2fb4cb5cbe5b63cebc023fe2e1d85693018fe3f544d449339d0f184626986a49", kill_on_drop: false }` [INFO] [stderr] Compiling moire v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "2fb4cb5cbe5b63cebc023fe2e1d85693018fe3f544d449339d0f184626986a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb4cb5cbe5b63cebc023fe2e1d85693018fe3f544d449339d0f184626986a49", kill_on_drop: false }` [INFO] [stdout] 2fb4cb5cbe5b63cebc023fe2e1d85693018fe3f544d449339d0f184626986a49 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6c3986cd8b7cd2c190e4e5b4238c0cf96b5de847de2a85eef72fb7cf150f8cb [INFO] running `Command { std: "docker" "start" "-a" "a6c3986cd8b7cd2c190e4e5b4238c0cf96b5de847de2a85eef72fb7cf150f8cb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/moire-2244f9510e663b25) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests moire [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 1 test [INFO] [stdout] test src/lib.rs - (line 24) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/lib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `&str` is not a future [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | moire::task::spawn("connection_handler", async { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^ `&str` is not a future [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `&str` [INFO] [stdout] note: required by a bound in `moire::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/moire-tokio-1.0.1/src/disabled/task/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 22 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MyState` in this scope [INFO] [stdout] --> src/lib.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | let mu = moire::sync::Mutex::new("state", MyState::default()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyState` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | moire::task::spawn("connection_handler", async { [INFO] [stdout] | _____^^^^^^^^^^^^^^^^^^_______________________- [INFO] [stdout] 31 | | let mu = moire::sync::Mutex::new("state", MyState::default()); [INFO] [stdout] 32 | | let (tx, rx) = moire::sync::mpsc::channel("work_queue", 64); [INFO] [stdout] 33 | | // ... [INFO] [stdout] 34 | | }); [INFO] [stdout] | |_____- unexpected argument #2 of type `{async block@src/lib.rs:8:46: 8:51}` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/moire-tokio-1.0.1/src/disabled/task/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 30 - moire::task::spawn("connection_handler", async { [INFO] [stdout] 31 - let mu = moire::sync::Mutex::new("state", MyState::default()); [INFO] [stdout] 32 - let (tx, rx) = moire::sync::mpsc::channel("work_queue", 64); [INFO] [stdout] 33 - // ... [INFO] [stdout] 34 - }); [INFO] [stdout] 30 + moire::task::spawn("connection_handler"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.30s; merged doctests compilation took 0.15s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a6c3986cd8b7cd2c190e4e5b4238c0cf96b5de847de2a85eef72fb7cf150f8cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6c3986cd8b7cd2c190e4e5b4238c0cf96b5de847de2a85eef72fb7cf150f8cb", kill_on_drop: false }` [INFO] [stdout] a6c3986cd8b7cd2c190e4e5b4238c0cf96b5de847de2a85eef72fb7cf150f8cb