[INFO] fetching crate virtue 0.0.18... [INFO] testing virtue-0.0.18 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate virtue 0.0.18 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate virtue 0.0.18 [INFO] finished tweaking crates.io crate virtue 0.0.18 [INFO] tweaked toml for crates.io crate virtue 0.0.18 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate virtue 0.0.18 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bc8f90b8ced656af310458fafe0463a26ce3bd56862c7e17d50ec1b921e4eb6 [INFO] running `Command { std: "docker" "start" "-a" "8bc8f90b8ced656af310458fafe0463a26ce3bd56862c7e17d50ec1b921e4eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bc8f90b8ced656af310458fafe0463a26ce3bd56862c7e17d50ec1b921e4eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc8f90b8ced656af310458fafe0463a26ce3bd56862c7e17d50ec1b921e4eb6", kill_on_drop: false }` [INFO] [stdout] 8bc8f90b8ced656af310458fafe0463a26ce3bd56862c7e17d50ec1b921e4eb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e2111b6e40949d7e8ac6f6646a77bd35c1110ae21cffe6756c46b6462045ab2 [INFO] running `Command { std: "docker" "start" "-a" "6e2111b6e40949d7e8ac6f6646a77bd35c1110ae21cffe6756c46b6462045ab2", kill_on_drop: false }` [INFO] [stderr] Compiling virtue v0.0.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn r#impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 306 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:315:26 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 558 | ) -> FieldBuilder { [INFO] [stdout] | ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 558 | ) -> FieldBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 331 | ) -> FieldBuilder { [INFO] [stdout] | ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | ) -> FieldBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 338 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn r#impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 343 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 352 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn r#impl(&mut self, name: impl Into) -> Impl { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn r#impl(&mut self, name: impl Into) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn generate_impl(&mut self, name: impl Into) -> Impl { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn generate_impl(&mut self, name: impl Into) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn r#impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn impl_for(&mut self, trait_name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn impl_for(&mut self, trait_name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn impl_for_other_type(&mut self, type_name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn impl_for_other_type(&mut self, type_name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> ImplFor { [INFO] [stdout] | ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | ) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 128 | ) -> ImplFor [INFO] [stdout] | ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | ) -> ImplFor<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn generate_mod(&mut self, mod_name: impl Into) -> GenerateMod { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn generate_mod(&mut self, mod_name: impl Into) -> GenerateMod<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl_for.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl_for.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder<'_, ImplFor<'a, P>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "6e2111b6e40949d7e8ac6f6646a77bd35c1110ae21cffe6756c46b6462045ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e2111b6e40949d7e8ac6f6646a77bd35c1110ae21cffe6756c46b6462045ab2", kill_on_drop: false }` [INFO] [stdout] 6e2111b6e40949d7e8ac6f6646a77bd35c1110ae21cffe6756c46b6462045ab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17ad03f869104d5b9adcb9bb7580d2e4a4f1a8d7a1b610f0067840503eed0173 [INFO] running `Command { std: "docker" "start" "-a" "17ad03f869104d5b9adcb9bb7580d2e4a4f1a8d7a1b610f0067840503eed0173", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn r#impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 306 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:315:26 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 558 | ) -> FieldBuilder { [INFO] [stdout] | ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 558 | ) -> FieldBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 331 | ) -> FieldBuilder { [INFO] [stdout] | ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | ) -> FieldBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 338 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn r#impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 343 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 352 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn r#impl(&mut self, name: impl Into) -> Impl { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn r#impl(&mut self, name: impl Into) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn generate_impl(&mut self, name: impl Into) -> Impl { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn generate_impl(&mut self, name: impl Into) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn r#impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn impl_for(&mut self, trait_name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn impl_for(&mut self, trait_name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn impl_for_other_type(&mut self, type_name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn impl_for_other_type(&mut self, type_name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> ImplFor { [INFO] [stdout] | ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | ) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 128 | ) -> ImplFor [INFO] [stdout] | ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | ) -> ImplFor<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn generate_mod(&mut self, mod_name: impl Into) -> GenerateMod { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn generate_mod(&mut self, mod_name: impl Into) -> GenerateMod<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl_for.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl_for.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder<'_, ImplFor<'a, P>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling virtue v0.0.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/error.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn is_unknown_data_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/error.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn is_invalid_rust_syntax(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn r#impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 306 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:315:26 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_enum.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 558 | ) -> FieldBuilder { [INFO] [stdout] | ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 558 | ) -> FieldBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 331 | ) -> FieldBuilder { [INFO] [stdout] | ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | ) -> FieldBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 338 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn r#impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 343 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/gen_struct.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 352 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn r#impl(&mut self, name: impl Into) -> Impl { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn r#impl(&mut self, name: impl Into) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generate_mod.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn generate_impl(&mut self, name: impl Into) -> Impl { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn generate_impl(&mut self, name: impl Into) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn r#impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn impl_for(&mut self, trait_name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn impl_for(&mut self, trait_name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn impl_for_other_type(&mut self, type_name: impl Into) -> ImplFor { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn impl_for_other_type(&mut self, type_name: impl Into) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> ImplFor { [INFO] [stdout] | ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | ) -> ImplFor<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 128 | ) -> ImplFor [INFO] [stdout] | ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | ) -> ImplFor<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/generator.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn generate_mod(&mut self, mod_name: impl Into) -> GenerateMod { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn generate_mod(&mut self, mod_name: impl Into) -> GenerateMod<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl_for.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generate/impl_for.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder<'_, ImplFor<'a, P>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "17ad03f869104d5b9adcb9bb7580d2e4a4f1a8d7a1b610f0067840503eed0173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ad03f869104d5b9adcb9bb7580d2e4a4f1a8d7a1b610f0067840503eed0173", kill_on_drop: false }` [INFO] [stdout] 17ad03f869104d5b9adcb9bb7580d2e4a4f1a8d7a1b610f0067840503eed0173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 08c8d041161110c9a3b8073dcbb80109b0beafe0e83c2b3f7925f28c6a0ddcba [INFO] running `Command { std: "docker" "start" "-a" "08c8d041161110c9a3b8073dcbb80109b0beafe0e83c2b3f7925f28c6a0ddcba", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/gen_enum.rs:301:21 [INFO] [stderr] | [INFO] [stderr] 301 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 301 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/gen_enum.rs:306:19 [INFO] [stderr] | [INFO] [stderr] 306 | pub fn r#impl(&mut self) -> Impl { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 306 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/gen_enum.rs:315:26 [INFO] [stderr] | [INFO] [stderr] 315 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 315 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/gen_enum.rs:555:9 [INFO] [stderr] | [INFO] [stderr] 555 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 558 | ) -> FieldBuilder { [INFO] [stderr] | ------------------ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 558 | ) -> FieldBuilder<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/gen_struct.rs:328:9 [INFO] [stderr] | [INFO] [stderr] 328 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 331 | ) -> FieldBuilder { [INFO] [stderr] | ------------------ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 331 | ) -> FieldBuilder<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/gen_struct.rs:338:21 [INFO] [stderr] | [INFO] [stderr] 338 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 338 | pub fn impl_for(&mut self, name: impl Into) -> ImplFor<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/gen_struct.rs:343:19 [INFO] [stderr] | [INFO] [stderr] 343 | pub fn r#impl(&mut self) -> Impl { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 343 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/gen_struct.rs:352:26 [INFO] [stderr] | [INFO] [stderr] 352 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 352 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generate_mod.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 47 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generate_mod.rs:52:26 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 52 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generate_mod.rs:57:19 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn r#impl(&mut self, name: impl Into) -> Impl { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | pub fn r#impl(&mut self, name: impl Into) -> Impl<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generate_mod.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn generate_impl(&mut self, name: impl Into) -> Impl { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 66 | pub fn generate_impl(&mut self, name: impl Into) -> Impl<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generator.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn r#impl(&mut self) -> Impl { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 40 | pub fn r#impl(&mut self) -> Impl<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generator.rs:49:26 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn generate_impl(&mut self) -> Impl { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 49 | pub fn generate_impl(&mut self) -> Impl<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generator.rs:56:21 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn impl_for(&mut self, trait_name: impl Into) -> ImplFor { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | pub fn impl_for(&mut self, trait_name: impl Into) -> ImplFor<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generator.rs:74:32 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn impl_for_other_type(&mut self, type_name: impl Into) -> ImplFor { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 74 | pub fn impl_for_other_type(&mut self, type_name: impl Into) -> ImplFor<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generator.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 92 | ) -> ImplFor { [INFO] [stderr] | ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 92 | ) -> ImplFor<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generator.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 128 | ) -> ImplFor [INFO] [stderr] | ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 128 | ) -> ImplFor<'_, Self> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generator.rs:139:28 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 139 | pub fn generate_struct(&mut self, name: impl Into) -> GenStruct<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generator.rs:144:26 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 144 | pub fn generate_enum(&mut self, name: impl Into) -> GenEnum<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/generator.rs:149:25 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn generate_mod(&mut self, mod_name: impl Into) -> GenerateMod { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 149 | pub fn generate_mod(&mut self, mod_name: impl Into) -> GenerateMod<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/impl.rs:81:24 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 81 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/impl.rs:104:27 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 104 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/impl_for.rs:176:27 [INFO] [stderr] | [INFO] [stderr] 176 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 176 | pub fn generate_const(&mut self, name: impl Into, ty: impl Into) -> GenConst<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/generate/impl_for.rs:191:24 [INFO] [stderr] | [INFO] [stderr] 191 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder> { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ------------------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 191 | pub fn generate_fn(&mut self, name: impl Into) -> FnBuilder<'_, ImplFor<'a, P>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `virtue` (lib) generated 25 warnings (run `cargo fix --lib -p virtue` to apply 25 suggestions) [INFO] [stderr] warning: missing documentation for a method [INFO] [stderr] --> src/error.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn is_unknown_data_type(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a method [INFO] [stderr] --> src/error.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn is_invalid_rust_syntax(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `virtue` (lib test) generated 27 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/virtue-8d246b339fca46ff) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test generate::generator::test::impl_for_with_impl_generics ... ok [INFO] [stdout] test parse::attributes::test_attributes_try_take ... ok [INFO] [stdout] test parse::body::issue_77 ... ok [INFO] [stdout] test parse::body::test_struct_body_take ... ok [INFO] [stdout] test parse::body::enum_explicit_variants ... ok [INFO] [stdout] test parse::body::test_enum_body_take ... ok [INFO] [stdout] test generate::generator::test::impl_for_with_trait_generics ... ok [INFO] [stdout] test generate::generator::test::impl_for_with_lifetimes ... ok [INFO] [stdout] test parse::generics::test_generic_constraints_try_take ... ok [INFO] [stdout] test parse::data_type::test_datatype_take ... ok [INFO] [stdout] test utils::test_parse_tagged_attribute ... ok [INFO] [stdout] test parse::visibility::test_visibility_try_take ... ok [INFO] [stdout] test parse::generics::test_generics_try_take ... ok [INFO] [stdout] test parse::generics::test_generic_constraints_trailing_comma ... ok [INFO] [stdout] test parse::generics::test_lifetime_take ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests virtue [INFO] [stdout] [INFO] [stdout] running 103 tests [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_attribute (line 466) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_attribute_stream (line 519) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_parsed_attribute (line 494) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::EnumValue::add_field (line 533) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_parsed_attribute (line 482) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::inherit_generics (line 221) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_attribute (line 143) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum (line 11) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_attribute_stream (line 194) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum (line 34) ... ok [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_derive (line 91) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_attribute_stream (line 506) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_derives (line 116) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::inherit_generics (line 204) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_generic (line 280) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_attribute (line 451) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_generics (line 250) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::EnumValue::add_field (line 546) ... ok [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_parsed_attribute (line 170) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_derive (line 77) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_derives (line 100) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::inherit_generics (line 109) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_attribute_stream (line 181) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_attribute (line 129) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_generic (line 264) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::inherit_generics (line 96) ... FAILED [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_parsed_attribute (line 158) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::make_zst (line 55) ... ok [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_attribute (line 246) ... ignored [INFO] [stdout] test src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_generics (line 234) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_attribute_stream (line 297) ... ignored [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::make_tuple (line 67) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_derive (line 192) ... ignored [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::add_field (line 309) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_derives (line 218) ... ignored [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::make_tuple (line 80) ... ok [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_generic (line 164) ... ignored [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_attribute_stream (line 283) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_generics (line 136) ... ignored [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_derive (line 178) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_parsed_attribute (line 272) ... ignored [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::make_zst (line 42) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_generic (line 150) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_generics (line 122) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::add_field (line 321) ... ok [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_attribute (line 232) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_derives (line 202) ... FAILED [INFO] [stdout] test src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_parsed_attribute (line 261) ... FAILED [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::body (line 316) ... FAILED [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_generic (line 208) ... FAILED [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_lifetime (line 140) ... FAILED [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::GenConst<'a>::with_value (line 61) ... ignored [INFO] [stdout] test src/generate/generate_mod.rs - generate::generate_mod::GenerateMod<'a,P>::add_use (line 32) ... ignored [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::as_async (line 158) ... FAILED [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_arg (line 272) ... FAILED [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_generic_deps (line 228) ... FAILED [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::GenConst<'a>::with_value (line 47) ... FAILED [INFO] [stdout] test src/generate/generator.rs - generate::generator::Generator::impl_for_other_type (line 65) ... FAILED [INFO] [stdout] test src/generate/impl.rs - generate::r#impl::Impl<'a,Generator>::modify_generic_constraints (line 113) ... ignored [INFO] [stdout] test src/generate/impl.rs - generate::r#impl::Impl<'a,P>::generate_const (line 100) ... ignored [INFO] [stdout] test src/generate/impl.rs - generate::r#impl::Impl<'a,P>::generate_fn (line 74) ... ignored [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_lifetime_deps (line 178) ... FAILED [INFO] [stdout] test src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::generate_const (line 172) ... ignored [INFO] [stdout] test src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::generate_fn (line 184) ... ignored [INFO] [stdout] test src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::impl_type (line 199) ... ignored [INFO] [stdout] test src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::modify_generic_constraints (line 220) ... ignored [INFO] [stdout] test src/generate/generator.rs - generate::generator::Generator::impl_for_with_lifetimes (line 102) ... FAILED [INFO] [stdout] test src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::with_impl_generics (line 120) ... ignored [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_return_type (line 291) ... FAILED [INFO] [stdout] test src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::with_trait_generics (line 95) ... ignored [INFO] [stdout] test src/generate/generator.rs - generate::generator::Generator::impl_for_with_lifetimes (line 114) ... FAILED [INFO] [stdout] test src/generate/impl.rs - generate::r#impl::Impl<'a,P>::generate_const (line 86) ... FAILED [INFO] [stdout] test src/generate/generator.rs - generate::generator::Generator::impl_trait_for_other_type (line 79) ... FAILED [INFO] [stdout] test src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_attribute (line 197) ... ignored [INFO] [stdout] test src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_self_arg (line 254) ... FAILED [INFO] [stdout] test src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_attribute_stream (line 277) ... ignored [INFO] [stdout] test src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::with_trait_generics (line 85) ... FAILED [INFO] [stdout] test src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_parsed_attribute (line 240) ... ignored [INFO] [stdout] test src/generate/stream_builder.rs - generate::stream_builder::StreamBuilder::lifetime (line 108) ... ignored [INFO] [stdout] test src/generate/stream_builder.rs - generate::stream_builder::StreamBuilder::lifetime_str (line 124) ... ignored [INFO] [stdout] test src/lib.rs - (line 26) ... ignored [INFO] [stdout] test src/lib.rs - (line 52) ... ignored [INFO] [stdout] test src/lib.rs - (line 63) ... ignored [INFO] [stdout] test src/parse/attributes.rs - parse::attributes::AttributeLocation::Field (line 27) ... ignored [INFO] [stdout] test src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::generate_const (line 158) ... FAILED [INFO] [stdout] test src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::with_impl_generics (line 110) ... FAILED [INFO] [stdout] test src/generate/mod.rs - generate::FieldBuilder<'_,P>::add_field (line 290) ... FAILED [INFO] [stdout] test src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_attribute (line 172) ... FAILED [INFO] [stdout] test src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_parsed_attribute (line 221) ... FAILED [INFO] [stdout] test src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_attribute_stream (line 263) ... FAILED [INFO] [stdout] test src/parse/body.rs - parse::body::Fields::delimiter (line 443) ... ok [INFO] [stdout] test src/parse/generics.rs - parse::generics::GenericConstraints::push_constraint (line 551) ... ignored [INFO] [stdout] test src/parse/generics.rs - parse::generics::GenericConstraints::push_parsed_constraint (line 583) ... ignored [INFO] [stdout] test src/generate/mod.rs - generate::FieldBuilder<'_,P>::add_field (line 302) ... ok [INFO] [stdout] test src/parse/mod.rs - parse::Parse (line 26) ... ignored [INFO] [stdout] test src/parse/body.rs - parse::body::Fields::names (line 414) ... ok [INFO] [stdout] test src/parse/body.rs - parse::body::IdentOrIndex (line 577) ... ok [INFO] [stdout] test src/parse/generics.rs - parse::generics::Generic::Lifetime (line 197) ... ok [INFO] [stdout] test src/parse/generics.rs - parse::generics::Generic::Const (line 215) ... ok [INFO] [stdout] test src/parse/generics.rs - parse::generics::GenericConstraints (line 509) ... ok [INFO] [stdout] test src/parse/generics.rs - parse::generics::Generic::Generic (line 206) ... ok [INFO] [stdout] test src/parse/generics.rs - parse::generics::Generics (line 10) ... ok [INFO] [stdout] test src/utils.rs - utils::parse_tagged_attribute (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::EnumValue::add_field (line 533) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:536:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Fooz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_parsed_attribute (line 482) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::GenEnum (line 11) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Fooz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_attribute_stream (line 506) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:509:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::inherit_generics (line 204) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 8 | let mut generator = Generator::with_name("Bar").with_lifetime("a"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_attribute (line 451) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:454:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_derive (line 77) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 7 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_derives (line 100) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 7 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_attribute_stream (line 181) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_attribute (line 129) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_generic (line 264) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 8 | let mut generator = Generator::with_name("Bar").with_lifetime("a"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/generate/gen_enum.rs:272:37 [INFO] [stdout] | [INFO] [stdout] 11 | .with_generic(Lifetime { ident: Ident::new("a", Span::call_site()), constraint: vec![] }.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `virtue::prelude::Ident`, found `proc_macro2::Ident` [INFO] [stdout] | [INFO] [stdout] = note: `proc_macro2::Ident` and `virtue::prelude::Ident` have similar names, but are actually distinct types [INFO] [stdout] note: `proc_macro2::Ident` is defined in crate `proc_macro2` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.101/src/lib.rs:923:1 [INFO] [stdout] | [INFO] [stdout] 923 | pub struct Ident { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `virtue::prelude::Ident` is defined in crate `proc_macro` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/proc_macro/src/lib.rs:1023:1 [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::inherit_generics (line 96) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar").with_lifetime("a"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_parsed_attribute (line 158) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_generics (line 234) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_enum.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 8 | let mut generator = Generator::with_name("Bar").with_lifetime("a"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/generate/gen_enum.rs:242:39 [INFO] [stdout] | [INFO] [stdout] 11 | .with_generics([Lifetime { ident: Ident::new("a", Span::call_site()), constraint: vec![] }.into()]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `virtue::prelude::Ident`, found `proc_macro2::Ident` [INFO] [stdout] | [INFO] [stdout] = note: `proc_macro2::Ident` and `virtue::prelude::Ident` have similar names, but are actually distinct types [INFO] [stdout] note: `proc_macro2::Ident` is defined in crate `proc_macro2` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.101/src/lib.rs:923:1 [INFO] [stdout] | [INFO] [stdout] 923 | pub struct Ident { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `virtue::prelude::Ident` is defined in crate `proc_macro` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/proc_macro/src/lib.rs:1023:1 [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::make_tuple (line 67) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Fooz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::add_field (line 309) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:312:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Fooz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_attribute_stream (line 283) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:287:32 [INFO] [stdout] | [INFO] [stdout] 7 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_derive (line 178) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 7 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::make_zst (line 42) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Fooz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_generic (line 150) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 8 | let mut generator = Generator::with_name("Bar").with_lifetime("a"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/generate/gen_struct.rs:158:37 [INFO] [stdout] | [INFO] [stdout] 11 | .with_generic(Lifetime { ident: Ident::new("a", Span::call_site()), constraint: vec![] }.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `virtue::prelude::Ident`, found `proc_macro2::Ident` [INFO] [stdout] | [INFO] [stdout] = note: `proc_macro2::Ident` and `virtue::prelude::Ident` have similar names, but are actually distinct types [INFO] [stdout] note: `proc_macro2::Ident` is defined in crate `proc_macro2` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.101/src/lib.rs:923:1 [INFO] [stdout] | [INFO] [stdout] 923 | pub struct Ident { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `virtue::prelude::Ident` is defined in crate `proc_macro` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/proc_macro/src/lib.rs:1023:1 [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_generics (line 122) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 8 | let mut generator = Generator::with_name("Bar").with_lifetime("a"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/generate/gen_struct.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 11 | .with_generics([Lifetime { ident: Ident::new("a", Span::call_site()), constraint: vec![] }.into()]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `virtue::prelude::Ident`, found `proc_macro2::Ident` [INFO] [stdout] | [INFO] [stdout] = note: `proc_macro2::Ident` and `virtue::prelude::Ident` have similar names, but are actually distinct types [INFO] [stdout] note: `proc_macro2::Ident` is defined in crate `proc_macro2` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.101/src/lib.rs:923:1 [INFO] [stdout] | [INFO] [stdout] 923 | pub struct Ident { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `virtue::prelude::Ident` is defined in crate `proc_macro` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/proc_macro/src/lib.rs:1023:1 [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_attribute (line 232) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_derives (line 202) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 7 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_parsed_attribute (line 261) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/gen_struct.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::body (line 316) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:319:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Foo"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_generic (line 208) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Foo"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_lifetime (line 140) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Foo"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::as_async (line 158) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Foo"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_arg (line 272) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Foo"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_generic_deps (line 228) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:231:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Foo"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::GenConst<'a>::with_value (line 47) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generator.rs - generate::generator::Generator::impl_for_other_type (line 65) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `virtue::generate::Generator` in the current scope [INFO] [stdout] --> src/generate/generator.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Baz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `virtue::generate::Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_lifetime_deps (line 178) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Foo"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generator.rs - generate::generator::Generator::impl_for_with_lifetimes (line 102) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `virtue::generate::Generator` in the current scope [INFO] [stdout] --> src/generate/generator.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `virtue::generate::Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_return_type (line 291) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:294:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Foo"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generator.rs - generate::generator::Generator::impl_for_with_lifetimes (line 114) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `virtue::generate::Generator` in the current scope [INFO] [stdout] --> src/generate/generator.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar").with_lifetime("a"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `virtue::generate::Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/impl.rs - generate::r#impl::Impl<'a,P>::generate_const (line 86) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/impl.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generator.rs - generate::generator::Generator::impl_trait_for_other_type (line 79) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `virtue::generate::Generator` in the current scope [INFO] [stdout] --> src/generate/generator.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Baz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `virtue::generate::Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_self_arg (line 254) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/generate_item.rs:257:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Foo"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::with_trait_generics (line 85) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/impl_for.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::generate_const (line 158) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/impl_for.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::with_impl_generics (line 110) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/impl_for.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Bar"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/mod.rs - generate::FieldBuilder<'_,P>::add_field (line 290) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/mod.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Fooz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_attribute (line 172) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/mod.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Fooz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_parsed_attribute (line 221) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/mod.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Fooz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_attribute_stream (line 263) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Generator` in the current scope [INFO] [stdout] --> src/generate/mod.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 6 | let mut generator = Generator::with_name("Fooz"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Generator` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::parse_tagged_attribute (line 13) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (579) panicked at library/proc_macro/src/bridge/client.rs:223:32: [INFO] [stdout] procedural macro API is used outside of a procedural macro [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x614ef28a37b2 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x614ef28a37b2 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x614ef28a37b2 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x614ef28a37b2 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x614ef28bf81f - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x614ef28bf81f - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x614ef2895793 - std::io::default_write_fmt::h745a1edf2999cb3b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x614ef2895793 - std::io::Write::write_fmt::hfc56e66d6e189682 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x614ef28a3dc2 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x614ef289368c - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x614ef28934c6 - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x614ef289434a - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x614ef28a3bca - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x614ef28a3b29 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x614ef28940bd - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x614ef28c2150 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x614ef28c2c4b - core::panicking::panic_display::h00325c027c5814f5 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:268:5 [INFO] [stdout] 17: 0x614ef28c2c4b - core::option::expect_failed::h52a73887775d9955 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/option.rs:2139:5 [INFO] [stdout] 18: 0x614ef287ccf8 - core::option::Option::expect::h9989e5e3e06a5d7c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/option.rs:964:21 [INFO] [stdout] 19: 0x614ef287ccf8 - proc_macro::bridge::client::Bridge::with::{{closure}}::h1e8234091d4ab3af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/proc_macro/src/bridge/client.rs:223:32 [INFO] [stdout] 20: 0x614ef287ccf8 - proc_macro::bridge::client::state::with::h9af062ddca90b568 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/proc_macro/src/bridge/client.rs:216:9 [INFO] [stdout] 21: 0x614ef287ccf8 - proc_macro::bridge::client::Bridge::with::ha538d5188a01149d [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/proc_macro/src/bridge/client.rs:222:9 [INFO] [stdout] 22: 0x614ef287ccf8 - proc_macro::bridge::client::TokenStream::from_str::h693217543e1f06c7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/proc_macro/src/bridge/client.rs:142:17 [INFO] [stdout] 23: 0x614ef287ccf8 - ::from_str::h69d2c671bffafa49 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/proc_macro/src/lib.rs:198:29 [INFO] [stdout] 24: 0x614ef2871f24 - proc_macro2::fallback::FromStr2::from_str_unchecked::h5c826a12df7ecf7a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.101/src/fallback.rs:1238:9 [INFO] [stdout] 25: 0x614ef2871da8 - proc_macro2::imp:: for proc_macro::TokenStream>::from::ha183fde8a77f6a07 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.101/src/wrapper.rs:148:17 [INFO] [stdout] 26: 0x614ef2871e22 - proc_macro2:: for proc_macro::TokenStream>::from::hff6a5e6dcb87ef78 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.101/src/lib.rs:271:9 [INFO] [stdout] 27: 0x614ef28602c7 - >::into::h3514755e55981a48 [INFO] [stdout] 28: 0x614ef285f0b3 - rust_out::main::_doctest_main_src_utils_rs_13_0::parse_token_stream_group::hb3b5d87169b6a94a [INFO] [stdout] 29: 0x614ef285f2a2 - rust_out::main::_doctest_main_src_utils_rs_13_0::ha4bfba882183df2a [INFO] [stdout] 30: 0x614ef285efd6 - rust_out::main::h61a73a86de211918 [INFO] [stdout] 31: 0x614ef2860253 - core::ops::function::FnOnce::call_once::h6c9c00fd6ee79245 [INFO] [stdout] 32: 0x614ef28602b6 - std::sys::backtrace::__rust_begin_short_backtrace::h916f7d6bfb06988c [INFO] [stdout] 33: 0x614ef285ffc9 - std::rt::lang_start::{{closure}}::h8b630493ef2474c7 [INFO] [stdout] 34: 0x614ef28a4540 - core::ops::function::impls:: for &F>::call_once::hae16bf8966719858 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 35: 0x614ef28a4540 - std::panicking::catch_unwind::do_call::hd4eb7cf01d0f66cd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 36: 0x614ef28a4540 - std::panicking::catch_unwind::h35b4afc45093edf5 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 37: 0x614ef28a4540 - std::panic::catch_unwind::h5a7ef11ac2fa7980 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x614ef28a4540 - std::rt::lang_start_internal::{{closure}}::h18f8e059e8eb5f5a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:175:24 [INFO] [stdout] 39: 0x614ef28a4540 - std::panicking::catch_unwind::do_call::hb4f94f34ea41283f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x614ef28a4540 - std::panicking::catch_unwind::hfbb31091ea806204 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x614ef28a4540 - std::panic::catch_unwind::hc88f452387620cfb [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x614ef28a4540 - std::rt::lang_start_internal::h23cfb6dcbf9c9010 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:171:5 [INFO] [stdout] 43: 0x614ef285ffb1 - std::rt::lang_start::h2676fe224d780b30 [INFO] [stdout] 44: 0x614ef28602f5 - main [INFO] [stdout] 45: 0x7e4647a921ca - [INFO] [stdout] 46: 0x7e4647a9228b - __libc_start_main [INFO] [stdout] 47: 0x614ef285ecb5 - _start [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::EnumValue::add_field (line 533) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_attribute (line 451) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_attribute_stream (line 506) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::EnumValue::with_parsed_attribute (line 482) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::GenEnum (line 11) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::inherit_generics (line 204) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_attribute (line 129) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_attribute_stream (line 181) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_derive (line 77) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_derives (line 100) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_generic (line 264) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_generics (line 234) [INFO] [stdout] src/generate/gen_enum.rs - generate::gen_enum::GenEnum<'a,P>::with_parsed_attribute (line 158) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::add_field (line 309) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::inherit_generics (line 96) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::make_tuple (line 67) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::make_zst (line 42) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_attribute (line 232) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_attribute_stream (line 283) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_derive (line 178) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_derives (line 202) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_generic (line 150) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_generics (line 122) [INFO] [stdout] src/generate/gen_struct.rs - generate::gen_struct::GenStruct<'a,P>::with_parsed_attribute (line 261) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::as_async (line 158) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::body (line 316) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_arg (line 272) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_generic (line 208) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_generic_deps (line 228) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_lifetime (line 140) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_lifetime_deps (line 178) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_return_type (line 291) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::FnBuilder<'a,P>::with_self_arg (line 254) [INFO] [stdout] src/generate/generate_item.rs - generate::generate_item::GenConst<'a>::with_value (line 47) [INFO] [stdout] src/generate/generator.rs - generate::generator::Generator::impl_for_other_type (line 65) [INFO] [stdout] src/generate/generator.rs - generate::generator::Generator::impl_for_with_lifetimes (line 102) [INFO] [stdout] src/generate/generator.rs - generate::generator::Generator::impl_for_with_lifetimes (line 114) [INFO] [stdout] src/generate/generator.rs - generate::generator::Generator::impl_trait_for_other_type (line 79) [INFO] [stdout] src/generate/impl.rs - generate::r#impl::Impl<'a,P>::generate_const (line 86) [INFO] [stdout] src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::generate_const (line 158) [INFO] [stdout] src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::with_impl_generics (line 110) [INFO] [stdout] src/generate/impl_for.rs - generate::impl_for::ImplFor<'a,P>::with_trait_generics (line 85) [INFO] [stdout] src/generate/mod.rs - generate::FieldBuilder<'_,P>::add_field (line 290) [INFO] [stdout] src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_attribute (line 172) [INFO] [stdout] src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_attribute_stream (line 263) [INFO] [stdout] src/generate/mod.rs - generate::FieldBuilder<'_,P>::with_parsed_attribute (line 221) [INFO] [stdout] src/utils.rs - utils::parse_tagged_attribute (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 14 passed; 47 failed; 42 ignored; 0 measured; 0 filtered out; finished in 6.05s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "08c8d041161110c9a3b8073dcbb80109b0beafe0e83c2b3f7925f28c6a0ddcba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c8d041161110c9a3b8073dcbb80109b0beafe0e83c2b3f7925f28c6a0ddcba", kill_on_drop: false }` [INFO] [stdout] 08c8d041161110c9a3b8073dcbb80109b0beafe0e83c2b3f7925f28c6a0ddcba