[INFO] fetching crate macro_state_macros 0.2.1... [INFO] testing macro_state_macros-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate macro_state_macros 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate macro_state_macros 0.2.1 [INFO] finished tweaking crates.io crate macro_state_macros 0.2.1 [INFO] tweaked toml for crates.io crate macro_state_macros 0.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate macro_state_macros 0.2.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding derive-syn-parse v0.1.5 (available: v0.2.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [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 derive-syn-parse v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 03b3880ff8bb4c24fb0a7f845dc41e4900347cd24afb98bf9f9640d2d951581c [INFO] running `Command { std: "docker" "start" "-a" "03b3880ff8bb4c24fb0a7f845dc41e4900347cd24afb98bf9f9640d2d951581c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03b3880ff8bb4c24fb0a7f845dc41e4900347cd24afb98bf9f9640d2d951581c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03b3880ff8bb4c24fb0a7f845dc41e4900347cd24afb98bf9f9640d2d951581c", kill_on_drop: false }` [INFO] [stdout] 03b3880ff8bb4c24fb0a7f845dc41e4900347cd24afb98bf9f9640d2d951581c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 97a72fe9d78b9b709cf000e9b94c3683d00346a84472b7631142b9638262976a [INFO] running `Command { std: "docker" "start" "-a" "97a72fe9d78b9b709cf000e9b94c3683d00346a84472b7631142b9638262976a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling macro_state_macros v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.00s [INFO] running `Command { std: "docker" "inspect" "97a72fe9d78b9b709cf000e9b94c3683d00346a84472b7631142b9638262976a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a72fe9d78b9b709cf000e9b94c3683d00346a84472b7631142b9638262976a", kill_on_drop: false }` [INFO] [stdout] 97a72fe9d78b9b709cf000e9b94c3683d00346a84472b7631142b9638262976a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5f8f167181196087e1cceb0c1d43804fe7611c0a7b647108d70e84a3cfd0ba16 [INFO] running `Command { std: "docker" "start" "-a" "5f8f167181196087e1cceb0c1d43804fe7611c0a7b647108d70e84a3cfd0ba16", kill_on_drop: false }` [INFO] [stderr] Compiling macro_state_macros v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "5f8f167181196087e1cceb0c1d43804fe7611c0a7b647108d70e84a3cfd0ba16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f8f167181196087e1cceb0c1d43804fe7611c0a7b647108d70e84a3cfd0ba16", kill_on_drop: false }` [INFO] [stdout] 5f8f167181196087e1cceb0c1d43804fe7611c0a7b647108d70e84a3cfd0ba16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 19b10a979c892194e3fa90fc3a59e9614686a5da80fb7c83871ac0f1f5ad10b7 [INFO] running `Command { std: "docker" "start" "-a" "19b10a979c892194e3fa90fc3a59e9614686a5da80fb7c83871ac0f1f5ad10b7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/macros.rs (/opt/rustwide/target/debug/deps/macro_state_macros-491491f398275379) [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 macro_state_macros [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/macros.rs - write_state (line 62) ... FAILED [INFO] [stdout] test src/macros.rs - has_state (line 193) ... FAILED [INFO] [stdout] test src/macros.rs - init_state (line 234) ... FAILED [INFO] [stdout] test src/macros.rs - clear_state (line 214) ... FAILED [INFO] [stdout] test src/macros.rs - read_state_vec (line 161) ... FAILED [INFO] [stdout] test src/macros.rs - read_state (line 129) ... FAILED [INFO] [stdout] test src/macros.rs - append_state (line 93) ... FAILED [INFO] [stdout] test src/macros.rs - read_state_vec (line 153) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macros.rs - write_state (line 62) stdout ---- [INFO] [stdout] error: cannot find macro `write_state` in this scope [INFO] [stdout] --> src/macros.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | write_state!("my key", "some value"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 62 + use macro_state_macros::write_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `read_state` in this scope [INFO] [stdout] --> src/macros.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(read_state!("my key"), "some value"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 62 + use macro_state_macros::read_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - has_state (line 193) stdout ---- [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/macros.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | write_state!("my key", "hey") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 194 - write_state!("my key", "hey") [INFO] [stdout] 194 + write_state!{"my key", "hey"} [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 194 | write_state!("my key", "hey"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores keyword `match` and any tokens following [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/macros/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(has_state!("my key"), true); [INFO] [stdout] | -------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores keyword `match` and any tokens following [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/macros/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(has_state!("unknown key"), false); [INFO] [stdout] | -------------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] error: cannot find macro `write_state` in this scope [INFO] [stdout] --> src/macros.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | write_state!("my key", "hey") [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 194 + use macro_state_macros::write_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/macros.rs:196:46 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(has_state!("unknown key"), false); [INFO] [stdout] | ^ consider adding a `main` function to `src/macros.rs` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - init_state (line 234) stdout ---- [INFO] [stdout] error: cannot find macro `init_state` in this scope [INFO] [stdout] --> src/macros.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | init_state!("other key", "B"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 234 + use macro_state_macros::init_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `init_state` in this scope [INFO] [stdout] --> src/macros.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | init_state!("my key", "B"); // => "A" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 234 + use macro_state_macros::init_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `write_state` in this scope [INFO] [stdout] --> src/macros.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | write_state!("my key", "A"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 234 + use macro_state_macros::write_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - clear_state (line 214) stdout ---- [INFO] [stdout] error: cannot find macro `has_state` in this scope [INFO] [stdout] --> src/macros.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | has_state!("my key"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 214 + use macro_state_macros::has_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `clear_state` in this scope [INFO] [stdout] --> src/macros.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | clear_state!("my key"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 214 + use macro_state_macros::clear_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `read_state` in this scope [INFO] [stdout] --> src/macros.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | read_state!("my key"); // => "test" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 214 + use macro_state_macros::read_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `write_state` in this scope [INFO] [stdout] --> src/macros.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | write_state!("my key", "test"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 214 + use macro_state_macros::write_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - read_state_vec (line 161) stdout ---- [INFO] [stdout] error: cannot find macro `append_state` in this scope [INFO] [stdout] --> src/macros.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | append_state!("my_key", "first item"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 161 + use macro_state_macros::append_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `append_state` in this scope [INFO] [stdout] --> src/macros.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | append_state!("my_key", "2nd item"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 161 + use macro_state_macros::append_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `read_state_vec` in this scope [INFO] [stdout] --> src/macros.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(read_state_vec!("my_key"), vec!["first item", "2nd item"]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 161 + use macro_state_macros::read_state_vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - read_state (line 129) stdout ---- [INFO] [stdout] error: cannot find macro `read_state` in this scope [INFO] [stdout] --> src/macros.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | read_state!("my key"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 129 + use macro_state_macros::read_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - append_state (line 93) stdout ---- [INFO] [stdout] error: cannot find macro `append_state` in this scope [INFO] [stdout] --> src/macros.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | append_state!("my_key", "apples"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 93 + use macro_state_macros::append_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `append_state` in this scope [INFO] [stdout] --> src/macros.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | append_state!("my_key", "pears"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 93 + use macro_state_macros::append_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `append_state` in this scope [INFO] [stdout] --> src/macros.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | append_state!("my_key", "oh my!"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 93 + use macro_state_macros::append_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `read_state` in this scope [INFO] [stdout] --> src/macros.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(read_state!("my_key"), "apples\npears\noh my!\n"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 93 + use macro_state_macros::read_state; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/macros.rs - append_state (line 93) [INFO] [stdout] src/macros.rs - clear_state (line 214) [INFO] [stdout] src/macros.rs - has_state (line 193) [INFO] [stdout] src/macros.rs - init_state (line 234) [INFO] [stdout] src/macros.rs - read_state (line 129) [INFO] [stdout] src/macros.rs - read_state_vec (line 161) [INFO] [stdout] src/macros.rs - write_state (line 62) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "19b10a979c892194e3fa90fc3a59e9614686a5da80fb7c83871ac0f1f5ad10b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b10a979c892194e3fa90fc3a59e9614686a5da80fb7c83871ac0f1f5ad10b7", kill_on_drop: false }` [INFO] [stdout] 19b10a979c892194e3fa90fc3a59e9614686a5da80fb7c83871ac0f1f5ad10b7