[INFO] fetching crate souvenir-macros 0.5.5... [INFO] testing souvenir-macros-0.5.5 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate souvenir-macros 0.5.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate souvenir-macros 0.5.5 [INFO] finished tweaking crates.io crate souvenir-macros 0.5.5 [INFO] tweaked toml for crates.io crate souvenir-macros 0.5.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate souvenir-macros 0.5.5 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate souvenir-macros 0.5.5 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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 bitflags v2.9.3 [INFO] [stderr] Downloaded souvenir v0.5.0 [INFO] [stderr] Downloaded souvenir-core v0.5.5 [INFO] [stderr] Downloaded zerocopy v0.8.26 [INFO] [stderr] Downloaded zerocopy-derive v0.8.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e5437cbbd6106f84227349d4ac6242498bfc49a3f856d4038906775c0eab11b [INFO] running `Command { std: "docker" "start" "-a" "2e5437cbbd6106f84227349d4ac6242498bfc49a3f856d4038906775c0eab11b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e5437cbbd6106f84227349d4ac6242498bfc49a3f856d4038906775c0eab11b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5437cbbd6106f84227349d4ac6242498bfc49a3f856d4038906775c0eab11b", kill_on_drop: false }` [INFO] [stdout] 2e5437cbbd6106f84227349d4ac6242498bfc49a3f856d4038906775c0eab11b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e79c208e903a0010d92ee7d4c1a543cd618eb80457850cfec68426ba759a507 [INFO] running `Command { std: "docker" "start" "-a" "3e79c208e903a0010d92ee7d4c1a543cd618eb80457850cfec68426ba759a507", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling souvenir-core v0.5.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling souvenir-macros v0.5.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.00s [INFO] running `Command { std: "docker" "inspect" "3e79c208e903a0010d92ee7d4c1a543cd618eb80457850cfec68426ba759a507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e79c208e903a0010d92ee7d4c1a543cd618eb80457850cfec68426ba759a507", kill_on_drop: false }` [INFO] [stdout] 3e79c208e903a0010d92ee7d4c1a543cd618eb80457850cfec68426ba759a507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 632b4c28841c1a88cea8bbf343b72574ab3cef91ab44fd39752e5c3acb9fe820 [INFO] running `Command { std: "docker" "start" "-a" "632b4c28841c1a88cea8bbf343b72574ab3cef91ab44fd39752e5c3acb9fe820", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling souvenir-macros v0.5.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling souvenir v0.5.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.82s [INFO] running `Command { std: "docker" "inspect" "632b4c28841c1a88cea8bbf343b72574ab3cef91ab44fd39752e5c3acb9fe820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632b4c28841c1a88cea8bbf343b72574ab3cef91ab44fd39752e5c3acb9fe820", kill_on_drop: false }` [INFO] [stdout] 632b4c28841c1a88cea8bbf343b72574ab3cef91ab44fd39752e5c3acb9fe820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 507edbc31e4eb15f1240f3e697d5e0e22c4b87755b8dca56b12ae59a4e2cd869 [INFO] running `Command { std: "docker" "start" "-a" "507edbc31e4eb15f1240f3e697d5e0e22c4b87755b8dca56b12ae59a4e2cd869", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/souvenir_macros-954c3e077e4f5efa) [INFO] [stderr] Doc-tests souvenir_macros [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - id (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - tagged (line 82) ... FAILED [INFO] [stdout] test src/lib.rs - prefix (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - identifiable (line 64) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - id (line 25) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `souvenir::Tagged` [INFO] [stdout] --> src/lib.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 3 | use souvenir::{id, Id, Tagged}; [INFO] [stdout] | ^^^^^^ no `Tagged` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] souvenir_core::tagged::Tagged [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `souvenir` in this scope [INFO] [stdout] --> src/lib.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[souvenir(tag = "user")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `souvenir` is an attribute that can be used by the derive macros `Identifiable` and `Tagged`, you might be missing a `derive` attribute [INFO] [stdout] = note: `souvenir` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0603]: module `id` is private [INFO] [stdout] --> src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 3 | use souvenir::{id, Id, Tagged}; [INFO] [stdout] | ^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `id` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/souvenir-0.5.0/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | mod id; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - tagged (line 82) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `souvenir::prefix`, `souvenir::Tagged` [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 3 | use souvenir::{id, prefix, Id, Tagged}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no `Tagged` in the root [INFO] [stdout] | | [INFO] [stdout] | no `prefix` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] souvenir_core::prefix [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] souvenir_core::tagged::Tagged [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `souvenir` in this scope [INFO] [stdout] --> src/lib.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[souvenir(tag = "user")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `souvenir` is an attribute that can be used by the derive macros `Identifiable` and `Tagged`, you might be missing a `derive` attribute [INFO] [stdout] = note: `souvenir` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0603]: module `id` is private [INFO] [stdout] --> src/lib.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 3 | use souvenir::{id, prefix, Id, Tagged}; [INFO] [stdout] | ^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `id` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/souvenir-0.5.0/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | mod id; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `PREFIX` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 7 | struct User; [INFO] [stdout] | ----------- associated item `PREFIX` not found for this struct [INFO] [stdout] 8 | [INFO] [stdout] 9 | assert_eq!(User::PREFIX, prefix!("user")); [INFO] [stdout] | ^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `PREFIX`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `souvenir_core::tagged::Tagged` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - prefix (line 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `souvenir::prefix`, `souvenir::Prefix` [INFO] [stdout] --> src/lib.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 3 | use souvenir::{prefix, Id, Prefix}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no `Prefix` in the root [INFO] [stdout] | | [INFO] [stdout] | no `prefix` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] souvenir_core::prefix [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::path::Component::Prefix [INFO] [stdout] std::path::Prefix [INFO] [stdout] souvenir_core::prefix::Prefix [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 7 | let id: Id = Id::random(prefix); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^ expected `Id`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Id` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 7 | let id: Id = Id::random(prefix).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - identifiable (line 64) stdout ---- [INFO] [stdout] error: cannot find derive macro `Identifiable` in this scope [INFO] [stdout] --> src/lib.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Identifiable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Identifiable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 3 | use souvenir::{id, Id, Identifiable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use souvenir_macros::Identifiable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `souvenir` in this scope [INFO] [stdout] --> src/lib.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[souvenir(id)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `souvenir` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0603]: module `id` is private [INFO] [stdout] --> src/lib.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 3 | use souvenir::{id, Id, Identifiable}; [INFO] [stdout] | ^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `id` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/souvenir-0.5.0/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | mod id; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `id` found for struct `User` in the current scope [INFO] [stdout] --> src/lib.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 5 | struct User { [INFO] [stdout] | ----------- method `id` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 11 | assert_eq!(user.id, user.id()); [INFO] [stdout] | ^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `id`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Identifiable` [INFO] [stdout] candidate #2: `souvenir_core::identifiable::Identifiable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - id (line 25) [INFO] [stdout] src/lib.rs - identifiable (line 64) [INFO] [stdout] src/lib.rs - prefix (line 49) [INFO] [stdout] src/lib.rs - tagged (line 82) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.47s; merged doctests compilation took 0.24s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "507edbc31e4eb15f1240f3e697d5e0e22c4b87755b8dca56b12ae59a4e2cd869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507edbc31e4eb15f1240f3e697d5e0e22c4b87755b8dca56b12ae59a4e2cd869", kill_on_drop: false }` [INFO] [stdout] 507edbc31e4eb15f1240f3e697d5e0e22c4b87755b8dca56b12ae59a4e2cd869