[INFO] fetching crate zvariant_derive 5.7.0... [INFO] testing zvariant_derive-5.7.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate zvariant_derive 5.7.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate zvariant_derive 5.7.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zvariant_derive 5.7.0 [INFO] tweaked toml for crates.io crate zvariant_derive 5.7.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zvariant_derive 5.7.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zvariant_derive 5.7.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.18 [INFO] [stderr] Downloaded proc-macro2 v1.0.101 [INFO] [stderr] Downloaded equivalent v1.0.2 [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded toml_datetime v0.6.9 [INFO] [stderr] Downloaded proc-macro-crate v3.3.0 [INFO] [stderr] Downloaded zvariant_utils v3.2.1 [INFO] [stderr] Downloaded enumflags2_derive v0.7.12 [INFO] [stderr] Downloaded enumflags2 v0.7.12 [INFO] [stderr] Downloaded serde_repr v0.1.20 [INFO] [stderr] Downloaded serde_derive v1.0.219 [INFO] [stderr] Downloaded serde v1.0.219 [INFO] [stderr] Downloaded memchr v2.7.4 [INFO] [stderr] Downloaded indexmap v2.9.0 [INFO] [stderr] Downloaded toml_edit v0.22.26 [INFO] [stderr] Downloaded hashbrown v0.15.3 [INFO] [stderr] Downloaded winnow v0.7.13 [INFO] [stderr] Downloaded syn v2.0.106 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01a4040ae54d764cf8e3febd3101d6602442b6ab99d197858704eb563e29bef0 [INFO] running `Command { std: "docker" "start" "-a" "01a4040ae54d764cf8e3febd3101d6602442b6ab99d197858704eb563e29bef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01a4040ae54d764cf8e3febd3101d6602442b6ab99d197858704eb563e29bef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a4040ae54d764cf8e3febd3101d6602442b6ab99d197858704eb563e29bef0", kill_on_drop: false }` [INFO] [stdout] 01a4040ae54d764cf8e3febd3101d6602442b6ab99d197858704eb563e29bef0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d46d59c82e522a7bb3be77561eeada60310e96445d73b8254b3aa08445901e0 [INFO] running `Command { std: "docker" "start" "-a" "3d46d59c82e522a7bb3be77561eeada60310e96445d73b8254b3aa08445901e0", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zvariant_utils v3.2.1 [INFO] [stderr] Compiling zvariant_derive v5.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.05s [INFO] running `Command { std: "docker" "inspect" "3d46d59c82e522a7bb3be77561eeada60310e96445d73b8254b3aa08445901e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d46d59c82e522a7bb3be77561eeada60310e96445d73b8254b3aa08445901e0", kill_on_drop: false }` [INFO] [stdout] 3d46d59c82e522a7bb3be77561eeada60310e96445d73b8254b3aa08445901e0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd87b1fec4602c99d98efc80b4a6502a8a37bbd92ea56ddf28fa2ab72ae6459c [INFO] running `Command { std: "docker" "start" "-a" "bd87b1fec4602c99d98efc80b4a6502a8a37bbd92ea56ddf28fa2ab72ae6459c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zvariant_utils v3.2.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling zvariant_derive v5.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `zvariant` in the list of imported crates [INFO] [stdout] --> tests/no_prelude.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | use ::zvariant::as_value::{self, optional}; [INFO] [stdout] | ^^^^^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zvariant` [INFO] [stdout] --> tests/no_prelude.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | use ::zvariant::as_value::{self, optional}; [INFO] [stdout] | ^^^^^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zvariant` [INFO] [stdout] --> tests/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use zvariant::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zvariant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zvariant`, use `cargo add zvariant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zvariant` [INFO] [stdout] --> tests/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use zvariant::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zvariant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zvariant`, use `cargo add zvariant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `zvariant` in this scope [INFO] [stdout] --> tests/tests.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[zvariant(signature = "a{sv}")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zvariant` in the list of imported crates [INFO] [stdout] --> tests/no_prelude.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Type)] [INFO] [stdout] | ^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `zbus` in this scope [INFO] [stdout] --> tests/tests.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[zbus(signature = "dict")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `zvariant` in this scope [INFO] [stdout] --> tests/tests.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | #[zvariant(signature = "a{sv}")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zvariant` in the list of imported crates [INFO] [stdout] --> tests/no_prelude.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Type)] [INFO] [stdout] | ^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zvariant` in the list of imported crates [INFO] [stdout] --> tests/no_prelude.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Type)] [INFO] [stdout] | ^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zvariant` in the list of imported crates [INFO] [stdout] --> tests/no_prelude.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Serialize, Deserialize, Type)] [INFO] [stdout] | ^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SIGNATURE` found for struct `FooF` in the current scope [INFO] [stdout] --> tests/tests.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 14 | struct FooF(f64); [INFO] [stdout] | ----------- associated item `SIGNATURE` not found for this struct [INFO] [stdout] 15 | [INFO] [stdout] 16 | assert_eq!(FooF::SIGNATURE, "d") [INFO] [stdout] | ^^^^^^^^^ associated item not found in `FooF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SIGNATURE` found for struct `TestStruct` in the current scope [INFO] [stdout] --> tests/tests.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 22 | struct TestStruct { [INFO] [stdout] | ----------------- associated item `SIGNATURE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(TestStruct::SIGNATURE, "(syay)") [INFO] [stdout] | ^^^^^^^^^ associated item not found in `TestStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SIGNATURE` found for enum `RequestNameFlags` in the current scope [INFO] [stdout] --> tests/tests.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 35 | enum RequestNameFlags { [INFO] [stdout] | --------------------- variant or associated item `SIGNATURE` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 41 | assert_eq!(RequestNameFlags::SIGNATURE, "u") [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `RequestNameFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zvariant` [INFO] [stdout] --> tests/tests.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | let serialized = zvariant::to_bytes(ctxt, &test).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zvariant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zvariant`, use `cargo add zvariant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zvariant` [INFO] [stdout] --> tests/tests.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | let serialized = zvariant::to_bytes(ctxt, &deserialized).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zvariant` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zvariant`, use `cargo add zvariant` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zvariant` in the list of imported crates [INFO] [stdout] --> tests/no_prelude.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Type)] [INFO] [stdout] | ^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use syn::Signature; [INFO] [stdout] | [INFO] [stdout] 4 + use zvariant_utils::signature::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `SIGNATURE` found for struct `Test` in the current scope [INFO] [stdout] --> tests/tests.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 49 | struct Test { [INFO] [stdout] | ----------- associated item `SIGNATURE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | assert_eq!(Test::SIGNATURE, "a{sv}") [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zvariant` in the list of imported crates [INFO] [stdout] --> tests/no_prelude.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Type)] [INFO] [stdout] | ^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 4 + use syn::Fields; [INFO] [stdout] | [INFO] [stdout] 4 + use zvariant_utils::signature::Fields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zvariant` in the list of imported crates [INFO] [stdout] --> tests/no_prelude.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Serialize, Deserialize, Type)] [INFO] [stdout] | ^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use syn::Signature; [INFO] [stdout] | [INFO] [stdout] 4 + use zvariant_utils::signature::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `zvariant` in the list of imported crates [INFO] [stdout] --> tests/no_prelude.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Serialize, Deserialize, Type)] [INFO] [stdout] | ^^^^ could not find `zvariant` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use std::process::Child; [INFO] [stdout] | [INFO] [stdout] 4 + use zvariant_utils::signature::Child; [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] [stderr] error: could not compile `zvariant_derive` (test "no_prelude") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zvariant_derive` (test "tests") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "bd87b1fec4602c99d98efc80b4a6502a8a37bbd92ea56ddf28fa2ab72ae6459c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd87b1fec4602c99d98efc80b4a6502a8a37bbd92ea56ddf28fa2ab72ae6459c", kill_on_drop: false }` [INFO] [stdout] bd87b1fec4602c99d98efc80b4a6502a8a37bbd92ea56ddf28fa2ab72ae6459c