[INFO] fetching crate moire 1.0.1... [INFO] testing moire-1.0.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate moire 1.0.1 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate moire 1.0.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded moire-wasm v1.0.1 [INFO] [stderr] Downloaded ctor v0.2.9 [INFO] [stderr] Downloaded moire-trace-capture v1.0.1 [INFO] [stderr] Downloaded moire-wire v1.0.1 [INFO] [stderr] Downloaded moire-tokio v1.0.1 [INFO] [stderr] Downloaded moire-macros-noop v1.0.1 [INFO] [stderr] Downloaded moire-runtime v1.0.1 [INFO] [stderr] Downloaded moire-macros v1.0.1 [INFO] [stderr] Downloaded tokio v1.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc70327267aed5b3969163a96778db5a0cc969ab2a35ccf271858fd03babf251 [INFO] running `Command { std: "docker" "start" "-a" "dc70327267aed5b3969163a96778db5a0cc969ab2a35ccf271858fd03babf251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc70327267aed5b3969163a96778db5a0cc969ab2a35ccf271858fd03babf251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc70327267aed5b3969163a96778db5a0cc969ab2a35ccf271858fd03babf251", kill_on_drop: false }` [INFO] [stdout] dc70327267aed5b3969163a96778db5a0cc969ab2a35ccf271858fd03babf251 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb711981b6e50fbf7ad12e533374994b8ff8041d138724a52f45fef1d71ac748 [INFO] running `Command { std: "docker" "start" "-a" "cb711981b6e50fbf7ad12e533374994b8ff8041d138724a52f45fef1d71ac748", 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 foldhash v0.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [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 signal-hook-registry v1.4.8 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unsynn v0.3.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling syn v2.0.117 [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-dessert v0.46.0 [INFO] [stderr] Compiling facet-solver 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 23.89s [INFO] running `Command { std: "docker" "inspect" "cb711981b6e50fbf7ad12e533374994b8ff8041d138724a52f45fef1d71ac748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb711981b6e50fbf7ad12e533374994b8ff8041d138724a52f45fef1d71ac748", kill_on_drop: false }` [INFO] [stdout] cb711981b6e50fbf7ad12e533374994b8ff8041d138724a52f45fef1d71ac748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98f03b220d2bf9e67578db74f6ba29d959f0178edea8303a9f2de9f20bf84d9f [INFO] running `Command { std: "docker" "start" "-a" "98f03b220d2bf9e67578db74f6ba29d959f0178edea8303a9f2de9f20bf84d9f", kill_on_drop: false }` [INFO] [stderr] Compiling moire v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "98f03b220d2bf9e67578db74f6ba29d959f0178edea8303a9f2de9f20bf84d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f03b220d2bf9e67578db74f6ba29d959f0178edea8303a9f2de9f20bf84d9f", kill_on_drop: false }` [INFO] [stdout] 98f03b220d2bf9e67578db74f6ba29d959f0178edea8303a9f2de9f20bf84d9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97d09478cf63c8fc264b9c6b19d935eba46a595ce04c8c20e48d369ee7932a0b [INFO] running `Command { std: "docker" "start" "-a" "97d09478cf63c8fc264b9c6b19d935eba46a595ce04c8c20e48d369ee7932a0b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/moire-2244f9510e663b25) [INFO] [stderr] Doc-tests moire [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 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.12s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.26s; merged doctests compilation took 0.14s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "97d09478cf63c8fc264b9c6b19d935eba46a595ce04c8c20e48d369ee7932a0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d09478cf63c8fc264b9c6b19d935eba46a595ce04c8c20e48d369ee7932a0b", kill_on_drop: false }` [INFO] [stdout] 97d09478cf63c8fc264b9c6b19d935eba46a595ce04c8c20e48d369ee7932a0b