[INFO] fetching crate rust-sfsm-macros 0.1.0... [INFO] testing rust-sfsm-macros-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rust-sfsm-macros 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rust-sfsm-macros 0.1.0 [INFO] finished tweaking crates.io crate rust-sfsm-macros 0.1.0 [INFO] tweaked toml for crates.io crate rust-sfsm-macros 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-sfsm-macros 0.1.0 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 rust-sfsm-macros 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 7846c52c0a4fa0b01974d00b0507c765d8963daafd21bcb799483b4f553245fb [INFO] running `Command { std: "docker" "start" "-a" "7846c52c0a4fa0b01974d00b0507c765d8963daafd21bcb799483b4f553245fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7846c52c0a4fa0b01974d00b0507c765d8963daafd21bcb799483b4f553245fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7846c52c0a4fa0b01974d00b0507c765d8963daafd21bcb799483b4f553245fb", kill_on_drop: false }` [INFO] [stdout] 7846c52c0a4fa0b01974d00b0507c765d8963daafd21bcb799483b4f553245fb [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] 56953574e801de6ce269fbd440881eca43971297c80da38db6174990d61ef787 [INFO] running `Command { std: "docker" "start" "-a" "56953574e801de6ce269fbd440881eca43971297c80da38db6174990d61ef787", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling rust-sfsm-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.17s [INFO] running `Command { std: "docker" "inspect" "56953574e801de6ce269fbd440881eca43971297c80da38db6174990d61ef787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56953574e801de6ce269fbd440881eca43971297c80da38db6174990d61ef787", kill_on_drop: false }` [INFO] [stdout] 56953574e801de6ce269fbd440881eca43971297c80da38db6174990d61ef787 [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] 8bffb3f548c1e85c8fb875ed4efd11cea4166391bd29d74c2c9ff56e7b81bb60 [INFO] running `Command { std: "docker" "start" "-a" "8bffb3f548c1e85c8fb875ed4efd11cea4166391bd29d74c2c9ff56e7b81bb60", kill_on_drop: false }` [INFO] [stderr] Compiling rust-sfsm-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "8bffb3f548c1e85c8fb875ed4efd11cea4166391bd29d74c2c9ff56e7b81bb60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bffb3f548c1e85c8fb875ed4efd11cea4166391bd29d74c2c9ff56e7b81bb60", kill_on_drop: false }` [INFO] [stdout] 8bffb3f548c1e85c8fb875ed4efd11cea4166391bd29d74c2c9ff56e7b81bb60 [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] 0d66eeba6d4070f0bc7dc9e23b0cce41fad5e93dba76d39b7c7b869600667a93 [INFO] running `Command { std: "docker" "start" "-a" "0d66eeba6d4070f0bc7dc9e23b0cce41fad5e93dba76d39b7c7b869600667a93", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_sfsm_macros-3c75c67f412f51fb) [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] [stderr] Doc-tests rust_sfsm_macros [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - rust_sfsm (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - rust_sfsm (line 97) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - rust_sfsm (line 25) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_sfsm` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rust_sfsm::{StateBehavior, StateMachine, rust_sfsm}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `rust_sfsm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_sfsm`, use `cargo add rust_sfsm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rust_sfsm (line 97) stdout ---- [INFO] [stdout] error[E0433]: cannot find `rust_sfsm` in the crate root [INFO] [stdout] --> src/lib.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | impl ::rust_sfsm::StateMachine for Protocol { [INFO] [stdout] | ^^^^^^^^^ could not find `rust_sfsm` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `rust_sfsm` in the crate root [INFO] [stdout] --> src/lib.rs:104:45 [INFO] [stdout] | [INFO] [stdout] 104 | fn current_state(&self) -> ::State { [INFO] [stdout] | ^^^^^^^^^ could not find `rust_sfsm` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `rust_sfsm` in the crate root [INFO] [stdout] --> src/lib.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | event: &::Event<'_>, [INFO] [stdout] | ^^^^^^^^^ could not find `rust_sfsm` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `rust_sfsm` in the crate root [INFO] [stdout] --> src/lib.rs:120:51 [INFO] [stdout] | [INFO] [stdout] 120 | fn transit(&mut self, new_state: ::State) { [INFO] [stdout] | ^^^^^^^^^ could not find `rust_sfsm` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `rust_sfsm` in the crate root [INFO] [stdout] --> src/lib.rs:126:55 [INFO] [stdout] | [INFO] [stdout] 126 | fn force_state(&mut self, new_state: ::State) { [INFO] [stdout] | ^^^^^^^^^ could not find `rust_sfsm` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `States` in this scope [INFO] [stdout] --> src/lib.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | current_state: States, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | context: Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 97 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `States` in this scope [INFO] [stdout] --> src/lib.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | impl ::rust_sfsm::StateMachine for Protocol { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 103 | impl ::rust_sfsm::StateMachine for Protocol { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `States` in this scope [INFO] [stdout] --> src/lib.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | fn current_state(&self) -> ::State { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `States` in this scope [INFO] [stdout] --> src/lib.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | event: &::Event<'_>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `States` in this scope [INFO] [stdout] --> src/lib.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | fn transit(&mut self, new_state: ::State) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `States` in this scope [INFO] [stdout] --> src/lib.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | fn force_state(&mut self, new_state: ::State) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - rust_sfsm (line 25) [INFO] [stdout] src/lib.rs - rust_sfsm (line 97) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.38s; merged doctests compilation took 0.17s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0d66eeba6d4070f0bc7dc9e23b0cce41fad5e93dba76d39b7c7b869600667a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d66eeba6d4070f0bc7dc9e23b0cce41fad5e93dba76d39b7c7b869600667a93", kill_on_drop: false }` [INFO] [stdout] 0d66eeba6d4070f0bc7dc9e23b0cce41fad5e93dba76d39b7c7b869600667a93