[INFO] fetching crate souvenir-macros 0.5.5... [INFO] testing souvenir-macros-0.5.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate souvenir-macros 0.5.5 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate souvenir-macros 0.5.5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89529c9aac3966714f3555f6133d52eeddb9e55f2b8dddaf8faf6cd3645e2614 [INFO] running `Command { std: "docker" "start" "-a" "89529c9aac3966714f3555f6133d52eeddb9e55f2b8dddaf8faf6cd3645e2614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89529c9aac3966714f3555f6133d52eeddb9e55f2b8dddaf8faf6cd3645e2614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89529c9aac3966714f3555f6133d52eeddb9e55f2b8dddaf8faf6cd3645e2614", kill_on_drop: false }` [INFO] [stdout] 89529c9aac3966714f3555f6133d52eeddb9e55f2b8dddaf8faf6cd3645e2614 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d47d6651f413a5190d3a278c9a3ca263d4f0af94296fa963f46b52acb344e3e6 [INFO] running `Command { std: "docker" "start" "-a" "d47d6651f413a5190d3a278c9a3ca263d4f0af94296fa963f46b52acb344e3e6", 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 4.61s [INFO] running `Command { std: "docker" "inspect" "d47d6651f413a5190d3a278c9a3ca263d4f0af94296fa963f46b52acb344e3e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47d6651f413a5190d3a278c9a3ca263d4f0af94296fa963f46b52acb344e3e6", kill_on_drop: false }` [INFO] [stdout] d47d6651f413a5190d3a278c9a3ca263d4f0af94296fa963f46b52acb344e3e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07319734ad3afba6111124e6a8ac42b0a057719bb5274d654bfc75edea01f1b9 [INFO] running `Command { std: "docker" "start" "-a" "07319734ad3afba6111124e6a8ac42b0a057719bb5274d654bfc75edea01f1b9", 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 5.97s [INFO] running `Command { std: "docker" "inspect" "07319734ad3afba6111124e6a8ac42b0a057719bb5274d654bfc75edea01f1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07319734ad3afba6111124e6a8ac42b0a057719bb5274d654bfc75edea01f1b9", kill_on_drop: false }` [INFO] [stdout] 07319734ad3afba6111124e6a8ac42b0a057719bb5274d654bfc75edea01f1b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dfa0d46304caa28bb38a03e05b893927bc71bc4d40aca14d4b8cf0b3ef5a5f99 [INFO] running `Command { std: "docker" "start" "-a" "dfa0d46304caa28bb38a03e05b893927bc71bc4d40aca14d4b8cf0b3ef5a5f99", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/souvenir_macros-954c3e077e4f5efa) [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] [stderr] Doc-tests souvenir_macros [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - tagged (line 82) ... FAILED [INFO] [stdout] test src/lib.rs - id (line 25) ... 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 - 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 - 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 - 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.27s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.42s; merged doctests compilation took 0.14s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "dfa0d46304caa28bb38a03e05b893927bc71bc4d40aca14d4b8cf0b3ef5a5f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa0d46304caa28bb38a03e05b893927bc71bc4d40aca14d4b8cf0b3ef5a5f99", kill_on_drop: false }` [INFO] [stdout] dfa0d46304caa28bb38a03e05b893927bc71bc4d40aca14d4b8cf0b3ef5a5f99