[INFO] fetching crate rust-sfsm-macros 0.1.0... [INFO] testing rust-sfsm-macros-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rust-sfsm-macros 0.1.0 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-sfsm-macros 0.1.0 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 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" "+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] 5833455ce38d78ba2f4045bcc6516c34055738a7d765008b5cac997bc16efd9c [INFO] running `Command { std: "docker" "start" "-a" "5833455ce38d78ba2f4045bcc6516c34055738a7d765008b5cac997bc16efd9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5833455ce38d78ba2f4045bcc6516c34055738a7d765008b5cac997bc16efd9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5833455ce38d78ba2f4045bcc6516c34055738a7d765008b5cac997bc16efd9c", kill_on_drop: false }` [INFO] [stdout] 5833455ce38d78ba2f4045bcc6516c34055738a7d765008b5cac997bc16efd9c [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] fd4d28c3a4c52353042a7157838a2df407cb1f76517dfaadd37fc9cb3938bd12 [INFO] running `Command { std: "docker" "start" "-a" "fd4d28c3a4c52353042a7157838a2df407cb1f76517dfaadd37fc9cb3938bd12", 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 10.11s [INFO] running `Command { std: "docker" "inspect" "fd4d28c3a4c52353042a7157838a2df407cb1f76517dfaadd37fc9cb3938bd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4d28c3a4c52353042a7157838a2df407cb1f76517dfaadd37fc9cb3938bd12", kill_on_drop: false }` [INFO] [stdout] fd4d28c3a4c52353042a7157838a2df407cb1f76517dfaadd37fc9cb3938bd12 [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] 15d58442b8cba7f8e3761a197882cb66c8ab0240813044f3f7750413c1f9ddb4 [INFO] running `Command { std: "docker" "start" "-a" "15d58442b8cba7f8e3761a197882cb66c8ab0240813044f3f7750413c1f9ddb4", 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.76s [INFO] running `Command { std: "docker" "inspect" "15d58442b8cba7f8e3761a197882cb66c8ab0240813044f3f7750413c1f9ddb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d58442b8cba7f8e3761a197882cb66c8ab0240813044f3f7750413c1f9ddb4", kill_on_drop: false }` [INFO] [stdout] 15d58442b8cba7f8e3761a197882cb66c8ab0240813044f3f7750413c1f9ddb4 [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] 883f29952b3b991bcbd8f8a8b9baae3161b02de970e94c2200be27bb92e76483 [INFO] running `Command { std: "docker" "start" "-a" "883f29952b3b991bcbd8f8a8b9baae3161b02de970e94c2200be27bb92e76483", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_sfsm_macros-3c75c67f412f51fb) [INFO] [stderr] Doc-tests rust_sfsm_macros [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 2 tests [INFO] [stdout] test src/lib.rs - rust_sfsm (line 25) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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.23s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.51s; merged doctests compilation took 0.28s [INFO] running `Command { std: "docker" "inspect" "883f29952b3b991bcbd8f8a8b9baae3161b02de970e94c2200be27bb92e76483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "883f29952b3b991bcbd8f8a8b9baae3161b02de970e94c2200be27bb92e76483", kill_on_drop: false }` [INFO] [stdout] 883f29952b3b991bcbd8f8a8b9baae3161b02de970e94c2200be27bb92e76483