[INFO] fetching crate statum-macros 0.1.48... [INFO] testing statum-macros-0.1.48 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate statum-macros 0.1.48 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate statum-macros 0.1.48 [INFO] finished tweaking crates.io crate statum-macros 0.1.48 [INFO] tweaked toml for crates.io crate statum-macros 0.1.48 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate statum-macros 0.1.48 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate statum-macros 0.1.48 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.217 [INFO] [stderr] Downloaded quote v1.0.38 [INFO] [stderr] Downloaded serde v1.0.217 [INFO] [stderr] Downloaded proc-macro2 v1.0.93 [INFO] [stderr] Downloaded unicode-ident v1.0.14 [INFO] [stderr] Downloaded syn v2.0.96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74897c422788c212b135be12a5f50305be6709489838a792f8808ce3b64a046a [INFO] running `Command { std: "docker" "start" "-a" "74897c422788c212b135be12a5f50305be6709489838a792f8808ce3b64a046a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74897c422788c212b135be12a5f50305be6709489838a792f8808ce3b64a046a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74897c422788c212b135be12a5f50305be6709489838a792f8808ce3b64a046a", kill_on_drop: false }` [INFO] [stdout] 74897c422788c212b135be12a5f50305be6709489838a792f8808ce3b64a046a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8644c902d5728ce4f538ff2cf4a675d30260521939b89dc33f85bddf3acfc058 [INFO] running `Command { std: "docker" "start" "-a" "8644c902d5728ce4f538ff2cf4a675d30260521939b89dc33f85bddf3acfc058", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling statum-macros v0.1.48 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.66s [INFO] running `Command { std: "docker" "inspect" "8644c902d5728ce4f538ff2cf4a675d30260521939b89dc33f85bddf3acfc058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8644c902d5728ce4f538ff2cf4a675d30260521939b89dc33f85bddf3acfc058", kill_on_drop: false }` [INFO] [stdout] 8644c902d5728ce4f538ff2cf4a675d30260521939b89dc33f85bddf3acfc058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85195765dae2fdf7b91d0de2ab5a50368d5c8dd07ee35cd1ac7898fd1a60cb25 [INFO] running `Command { std: "docker" "start" "-a" "85195765dae2fdf7b91d0de2ab5a50368d5c8dd07ee35cd1ac7898fd1a60cb25", kill_on_drop: false }` [INFO] [stderr] Compiling statum-macros v0.1.48 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "85195765dae2fdf7b91d0de2ab5a50368d5c8dd07ee35cd1ac7898fd1a60cb25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85195765dae2fdf7b91d0de2ab5a50368d5c8dd07ee35cd1ac7898fd1a60cb25", kill_on_drop: false }` [INFO] [stdout] 85195765dae2fdf7b91d0de2ab5a50368d5c8dd07ee35cd1ac7898fd1a60cb25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 949728eeefa2773e673399ad3903ce552ae4afe4b3df6f4099ea8793d2814ed0 [INFO] running `Command { std: "docker" "start" "-a" "949728eeefa2773e673399ad3903ce552ae4afe4b3df6f4099ea8793d2814ed0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/statum_macros-094d7b0849285ab2) [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 statum_macros [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - validators (line 579) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - validators (line 579) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:582:80 [INFO] [stdout] | [INFO] [stdout] 582 | fn is_new(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 582 - fn is_new(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] 582 + fn is_new(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 582 - fn is_new(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] 582 + fn is_new(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:582:80 [INFO] [stdout] | [INFO] [stdout] 582 | fn is_new(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 582 - fn is_new(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] 582 + fn is_new(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:583:95 [INFO] [stdout] | [INFO] [stdout] 583 | fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 583 - fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { ... } [INFO] [stdout] 583 + fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 583 - fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { ... } [INFO] [stdout] 583 + fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:583:95 [INFO] [stdout] | [INFO] [stdout] 583 | fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 583 - fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { ... } [INFO] [stdout] 583 + fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:584:85 [INFO] [stdout] | [INFO] [stdout] 584 | fn is_complete(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 584 - fn is_complete(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] 584 + fn is_complete(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 584 - fn is_complete(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] 584 + fn is_complete(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:584:85 [INFO] [stdout] | [INFO] [stdout] 584 | fn is_complete(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 584 - fn is_complete(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] 584 + fn is_complete(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validators` in this scope [INFO] [stdout] --> src/lib.rs:580:3 [INFO] [stdout] | [INFO] [stdout] 580 | #[validators(state = TaskState, machine = TaskMachine)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 579 + use statum_macros::validators; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DbData` in this scope [INFO] [stdout] --> src/lib.rs:581:6 [INFO] [stdout] | [INFO] [stdout] 581 | impl DbData { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DraftData` in this scope [INFO] [stdout] --> src/lib.rs:583:67 [INFO] [stdout] | [INFO] [stdout] 583 | fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { ... } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 581 | impl DbData { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `statum` [INFO] [stdout] --> src/lib.rs:582:63 [INFO] [stdout] | [INFO] [stdout] 582 | fn is_new(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `statum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `statum`, use `cargo add statum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `statum` [INFO] [stdout] --> src/lib.rs:583:78 [INFO] [stdout] | [INFO] [stdout] 583 | fn is_in_progress(&self /*, ..TaskMachine fields*/) -> Result { ... } [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `statum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `statum`, use `cargo add statum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `statum` [INFO] [stdout] --> src/lib.rs:584:68 [INFO] [stdout] | [INFO] [stdout] 584 | fn is_complete(&self /*, ..TaskMachine fields*/) -> Result<(), statum::Error> { ... } [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `statum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `statum`, use `cargo add statum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - validators (line 579) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "949728eeefa2773e673399ad3903ce552ae4afe4b3df6f4099ea8793d2814ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "949728eeefa2773e673399ad3903ce552ae4afe4b3df6f4099ea8793d2814ed0", kill_on_drop: false }` [INFO] [stdout] 949728eeefa2773e673399ad3903ce552ae4afe4b3df6f4099ea8793d2814ed0