[INFO] fetching crate eggplant-macros 0.2.7... [INFO] testing eggplant-macros-0.2.7 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate eggplant-macros 0.2.7 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate eggplant-macros 0.2.7 [INFO] finished tweaking crates.io crate eggplant-macros 0.2.7 [INFO] tweaked toml for crates.io crate eggplant-macros 0.2.7 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate eggplant-macros 0.2.7 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 eggplant-macros 0.2.7 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.20 [INFO] [stderr] Downloaded eggplant-transpiler v0.2.7 [INFO] [stderr] Downloaded clap v4.5.50 [INFO] [stderr] Downloaded toml_edit v0.23.7 [INFO] [stderr] Downloaded jiff-static v0.2.15 [INFO] [stderr] Downloaded clap_builder v4.5.50 [INFO] [stderr] Downloaded syn v2.0.107 [INFO] [stderr] Downloaded jiff v0.2.15 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea649b4449d03f6c39f29d677088ee45d60ad65b7fb07811b58c9fbd174f3f82 [INFO] running `Command { std: "docker" "start" "-a" "ea649b4449d03f6c39f29d677088ee45d60ad65b7fb07811b58c9fbd174f3f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea649b4449d03f6c39f29d677088ee45d60ad65b7fb07811b58c9fbd174f3f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea649b4449d03f6c39f29d677088ee45d60ad65b7fb07811b58c9fbd174f3f82", kill_on_drop: false }` [INFO] [stdout] ea649b4449d03f6c39f29d677088ee45d60ad65b7fb07811b58c9fbd174f3f82 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db4ea210eb1b8356dbe3bef2302438549e79278d55bd775eba99219f51351d7b [INFO] running `Command { std: "docker" "start" "-a" "db4ea210eb1b8356dbe3bef2302438549e79278d55bd775eba99219f51351d7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling clap_builder v4.5.50 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap v4.5.50 [INFO] [stderr] Compiling eggplant-transpiler v0.2.7 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling eggplant-macros v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.14s [INFO] running `Command { std: "docker" "inspect" "db4ea210eb1b8356dbe3bef2302438549e79278d55bd775eba99219f51351d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db4ea210eb1b8356dbe3bef2302438549e79278d55bd775eba99219f51351d7b", kill_on_drop: false }` [INFO] [stdout] db4ea210eb1b8356dbe3bef2302438549e79278d55bd775eba99219f51351d7b [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a4cb460b6c818d01134504848688a3c7af83ae337da2fe4e3bfe5cbe4ad9b3d [INFO] running `Command { std: "docker" "start" "-a" "6a4cb460b6c818d01134504848688a3c7af83ae337da2fe4e3bfe5cbe4ad9b3d", kill_on_drop: false }` [INFO] [stderr] Compiling eggplant-macros v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.52s [INFO] running `Command { std: "docker" "inspect" "6a4cb460b6c818d01134504848688a3c7af83ae337da2fe4e3bfe5cbe4ad9b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a4cb460b6c818d01134504848688a3c7af83ae337da2fe4e3bfe5cbe4ad9b3d", kill_on_drop: false }` [INFO] [stdout] 6a4cb460b6c818d01134504848688a3c7af83ae337da2fe4e3bfe5cbe4ad9b3d [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6a163f00503a52a9d7edae5726a7c45e054b901229f9fd6d91579e508eb49df [INFO] running `Command { std: "docker" "start" "-a" "c6a163f00503a52a9d7edae5726a7c45e054b901229f9fd6d91579e508eb49df", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/eggplant_macros-908a9f8823edfba5) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test transpiler::tests::test_transpile_datatype ... ok [INFO] [stdout] test transpiler::tests::test_transpile_rewrite ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests eggplant_macros [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - dsl (line 176) ... FAILED [INFO] [stdout] test src/lib.rs - datatype (line 1655) ... FAILED [INFO] [stdout] test src/lib.rs - rule (line 1688) ... FAILED [INFO] [stdout] test src/lib.rs - egglog (line 1729) ... FAILED [INFO] [stdout] test src/lib.rs - dsl (line 191) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - dsl (line 176) stdout ---- [INFO] [stdout] error: cannot find derive macro `EgglogTy` in this scope [INFO] [stdout] --> src/lib.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(Debug, Clone, EgglogTy)] [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/lib.rs - datatype (line 1655) stdout ---- [INFO] [stdout] error: cannot find macro `datatype` in this scope [INFO] [stdout] --> src/lib.rs:1656:1 [INFO] [stdout] | [INFO] [stdout] 1656 | datatype! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1655 + use eggplant_macros::datatype; [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/lib.rs - rule (line 1688) stdout ---- [INFO] [stdout] error: cannot find macro `rule` in this scope [INFO] [stdout] --> src/lib.rs:1689:1 [INFO] [stdout] | [INFO] [stdout] 1689 | rule! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1688 + use eggplant_macros::rule; [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/lib.rs - egglog (line 1729) stdout ---- [INFO] [stdout] error: cannot find macro `egglog` in this scope [INFO] [stdout] --> src/lib.rs:1730:1 [INFO] [stdout] | [INFO] [stdout] 1730 | egglog! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1729 + use eggplant_macros::egglog; [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/lib.rs - dsl (line 191) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | fn to_egglog(&self) -> String { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deref` in this scope [INFO] [stdout] --> src/lib.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 195 | #[deref] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `deref` is in scope, but it is a function-like macro [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `_DurationNode` in this scope [INFO] [stdout] --> src/lib.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | ty: _DurationNode, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `DurationSym` in this scope [INFO] [stdout] --> src/lib.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | sym: DurationSym, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EgglogTy` in the crate root [INFO] [stdout] --> src/lib.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | impl crate::EgglogTy for Duration { [INFO] [stdout] | ^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/lib.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | impl crate::EgglogTy for Duration { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 191 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `TySort` in the crate root [INFO] [stdout] --> src/lib.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | const SORT_DEF: crate::TySort = [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TySort` in the crate root [INFO] [stdout] --> src/lib.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | crate::TySort(stringify!((Duration()(DurationByMili f64)))); [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_DurationNode` in this scope [INFO] [stdout] --> src/lib.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | _DurationNode::DurationBySecs { seconds } => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `_DurationNode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_DurationNode`, use `cargo add _DurationNode` to add it to your `Cargo.toml` [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 - _DurationNode::DurationBySecs { seconds } => { [INFO] [stdout] 201 + DurationNode::DurationBySecs { seconds } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `_DurationNode` in this scope [INFO] [stdout] --> src/lib.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | _DurationNode::DurationByMili { milliseconds } => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `_DurationNode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `_DurationNode`, use `cargo add _DurationNode` to add it to your `Cargo.toml` [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 204 - _DurationNode::DurationByMili { milliseconds } => { [INFO] [stdout] 204 + DurationNode::DurationByMili { milliseconds } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - datatype (line 1655) [INFO] [stdout] src/lib.rs - dsl (line 176) [INFO] [stdout] src/lib.rs - dsl (line 191) [INFO] [stdout] src/lib.rs - egglog (line 1729) [INFO] [stdout] src/lib.rs - rule (line 1688) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.47s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c6a163f00503a52a9d7edae5726a7c45e054b901229f9fd6d91579e508eb49df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a163f00503a52a9d7edae5726a7c45e054b901229f9fd6d91579e508eb49df", kill_on_drop: false }` [INFO] [stdout] c6a163f00503a52a9d7edae5726a7c45e054b901229f9fd6d91579e508eb49df