[INFO] fetching crate zvariant_derive 5.7.0... [INFO] checking zvariant_derive-5.7.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate zvariant_derive 5.7.0 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zvariant_derive 5.7.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff07c0626cb7bcf93accf409879a880f02f81cc16bc8fadba6ad876f5ca786b3 [INFO] running `Command { std: "docker" "start" "-a" "ff07c0626cb7bcf93accf409879a880f02f81cc16bc8fadba6ad876f5ca786b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff07c0626cb7bcf93accf409879a880f02f81cc16bc8fadba6ad876f5ca786b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff07c0626cb7bcf93accf409879a880f02f81cc16bc8fadba6ad876f5ca786b3", kill_on_drop: false }` [INFO] [stdout] ff07c0626cb7bcf93accf409879a880f02f81cc16bc8fadba6ad876f5ca786b3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e271c9dca45c2e3d8ea6b4b484b4de5dc79e81a3e3d5e480a15133b9c8e6a0e [INFO] running `Command { std: "docker" "start" "-a" "8e271c9dca45c2e3d8ea6b4b484b4de5dc79e81a3e3d5e480a15133b9c8e6a0e", kill_on_drop: false }` [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Checking 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] Checking serde v1.0.219 [INFO] [stderr] Checking zvariant_utils v3.2.1 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking zvariant_derive v5.7.0 (/opt/rustwide/workdir) [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[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: 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] = note: `zvariant` is an attribute that can be used by the derive macros `DeserializeDict`, `OwnedValue`, `SerializeDict`, `Type` and `Value`, you might be missing a `derive` attribute [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: 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] = note: `zbus` is an attribute that can be used by the derive macros `DeserializeDict`, `OwnedValue`, `SerializeDict`, `Type` and `Value`, you might be missing a `derive` attribute [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] = note: `zvariant` is an attribute that can be used by the derive macros `DeserializeDict`, `OwnedValue`, `SerializeDict`, `Type` and `Value`, you might be missing a `derive` attribute [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[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[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[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[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[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: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[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[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" "8e271c9dca45c2e3d8ea6b4b484b4de5dc79e81a3e3d5e480a15133b9c8e6a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e271c9dca45c2e3d8ea6b4b484b4de5dc79e81a3e3d5e480a15133b9c8e6a0e", kill_on_drop: false }` [INFO] [stdout] 8e271c9dca45c2e3d8ea6b4b484b4de5dc79e81a3e3d5e480a15133b9c8e6a0e