[INFO] fetching crate mik-sdk-macros 0.1.2... [INFO] testing mik-sdk-macros-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate mik-sdk-macros 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate mik-sdk-macros 0.1.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mik-sdk-macros 0.1.2 [INFO] tweaked toml for crates.io crate mik-sdk-macros 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mik-sdk-macros 0.1.2 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 mik-sdk-macros 0.1.2 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] dac9268776c8d41bc2fd91c884f9a77e68ebe3443c07f16ac7bb33c7804398c2 [INFO] running `Command { std: "docker" "start" "-a" "dac9268776c8d41bc2fd91c884f9a77e68ebe3443c07f16ac7bb33c7804398c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dac9268776c8d41bc2fd91c884f9a77e68ebe3443c07f16ac7bb33c7804398c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac9268776c8d41bc2fd91c884f9a77e68ebe3443c07f16ac7bb33c7804398c2", kill_on_drop: false }` [INFO] [stdout] dac9268776c8d41bc2fd91c884f9a77e68ebe3443c07f16ac7bb33c7804398c2 [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] e055254db4dc5de84bb2bd6db3c2d0a05060a27d87fa3c764f718fefbcc1b533 [INFO] running `Command { std: "docker" "start" "-a" "e055254db4dc5de84bb2bd6db3c2d0a05060a27d87fa3c764f718fefbcc1b533", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling zmij v1.0.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Compiling utoipa v5.4.0 [INFO] [stderr] Compiling mik-sdk-macros v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.80s [INFO] running `Command { std: "docker" "inspect" "e055254db4dc5de84bb2bd6db3c2d0a05060a27d87fa3c764f718fefbcc1b533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e055254db4dc5de84bb2bd6db3c2d0a05060a27d87fa3c764f718fefbcc1b533", kill_on_drop: false }` [INFO] [stdout] e055254db4dc5de84bb2bd6db3c2d0a05060a27d87fa3c764f718fefbcc1b533 [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] 23a267f373095ac00b951d1df83c3d18fa52c5395144cbd09ee126555a66e75b [INFO] running `Command { std: "docker" "start" "-a" "23a267f373095ac00b951d1df83c3d18fa52c5395144cbd09ee126555a66e75b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zmij v1.0.0 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling insta v1.45.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling toml v0.9.10+spec-1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Compiling trybuild v1.0.114 [INFO] [stderr] Compiling macrotest v1.2.0 [INFO] [stderr] Compiling utoipa v5.4.0 [INFO] [stderr] Compiling mik-sdk-macros v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `mik_sdk` in this scope [INFO] [stdout] --> examples/expand_derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mik_sdk::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mik_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mik_sdk`, use `cargo add mik_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `mik_sdk` in this scope [INFO] [stdout] --> tests/fetch_macro_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mik_sdk::http_client::{ClientRequest, Method}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mik_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mik_sdk`, use `cargo add mik_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mik_sdk` [INFO] [stdout] --> tests/fetch_macro_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mik_sdk::fetch; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mik_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mik_sdk`, use `cargo add mik_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Type` in this scope [INFO] [stdout] --> examples/expand_derive.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Type)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 5 + use mik_sdk_macros::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> examples/expand_derive.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[field(format = "email")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Type` in this scope [INFO] [stdout] --> examples/expand_derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Type)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 5 + use mik_sdk_macros::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Query` in this scope [INFO] [stdout] --> examples/expand_derive.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Query)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 5 + use mik_sdk_macros::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> examples/expand_derive.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[field(default = 1)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> examples/expand_derive.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[field(default = 20)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Path` in this scope [INFO] [stdout] --> examples/expand_derive.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Path)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 5 + use mik_sdk_macros::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mik-sdk-macros` (example "expand_derive") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mik-sdk-macros` (test "fetch_macro_test") due to 2 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `mik_sdk` in this scope [INFO] [stdout] --> examples/expand_json.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mik_sdk::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mik_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mik_sdk`, use `cargo add mik_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> examples/expand_json.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let value = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 5 + use mik_sdk_macros::json; [INFO] [stdout] | [INFO] [stdout] 5 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `mik_sdk` in the crate root [INFO] [stdout] --> tests/hygiene_test.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let _result = ok!({ "test": "value" }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mik_sdk` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `mik_sdk` in the crate root [INFO] [stdout] --> tests/hygiene_test.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | let _x = ensure!(returns_option(), 404, "not found"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mik_sdk` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ensure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mik-sdk-macros` (example "expand_json") due to 2 previous errors [INFO] [stdout] error[E0433]: cannot find `mik_sdk` in the crate root [INFO] [stdout] --> tests/hygiene_test.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | guard!(true, 400, "condition failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mik_sdk` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `mik_sdk` in the crate root [INFO] [stdout] --> tests/hygiene_test.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | let _ = error! { [INFO] [stdout] | _________________^ [INFO] [stdout] 135 | | status: 400, [INFO] [stdout] 136 | | title: "Test" [INFO] [stdout] 137 | | }; [INFO] [stdout] | |_________^ could not find `mik_sdk` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `mik_sdk` in the crate root [INFO] [stdout] --> tests/hygiene_test.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let _ = ok!({ "method": "POST" }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mik_sdk` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `mik_sdk` in the crate root [INFO] [stdout] --> tests/hygiene_test.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | guard!(true, 400, "test"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mik_sdk` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `mik_sdk` in the crate root [INFO] [stdout] --> tests/hygiene_test.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let _ = ok!({ "test": "value" }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mik_sdk` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `mik_sdk` in the crate root [INFO] [stdout] --> tests/hygiene_test.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | let _x = ensure!(returns_option(), 404, "not found"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mik_sdk` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ensure` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 14 + use crate::mik_sdk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mik-sdk-macros` (test "hygiene_test") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "23a267f373095ac00b951d1df83c3d18fa52c5395144cbd09ee126555a66e75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a267f373095ac00b951d1df83c3d18fa52c5395144cbd09ee126555a66e75b", kill_on_drop: false }` [INFO] [stdout] 23a267f373095ac00b951d1df83c3d18fa52c5395144cbd09ee126555a66e75b