[INFO] fetching crate saphir-cli 0.5.1... [INFO] testing saphir-cli-0.5.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate saphir-cli 0.5.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate saphir-cli 0.5.1 [INFO] finished tweaking crates.io crate saphir-cli 0.5.1 [INFO] tweaked toml for crates.io crate saphir-cli 0.5.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate saphir-cli 0.5.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate saphir-cli 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.5.10 [INFO] [stderr] Downloaded is-terminal v0.4.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.49 [INFO] [stderr] Downloaded convert_case v0.6.0 [INFO] [stderr] Downloaded cargo_metadata v0.15.2 [INFO] [stderr] Downloaded bytes v1.3.0 [INFO] [stderr] Downloaded clap_derive v4.0.21 [INFO] [stderr] Downloaded cargo-platform v0.1.2 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.5 [INFO] [stderr] Downloaded camino v1.1.2 [INFO] [stderr] Downloaded io-lifetimes v1.0.3 [INFO] [stderr] Downloaded unicode-segmentation v1.10.0 [INFO] [stderr] Downloaded cc v1.0.78 [INFO] [stderr] Downloaded serde_yaml v0.9.16 [INFO] [stderr] Downloaded serde_json v1.0.91 [INFO] [stderr] Downloaded clap v4.0.32 [INFO] [stderr] Downloaded rustix v0.36.6 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66e06f0499a53f9bded9fdd9beed342260a6bdb6db24e6d364b3634740838e4f [INFO] running `Command { std: "docker" "start" "-a" "66e06f0499a53f9bded9fdd9beed342260a6bdb6db24e6d364b3634740838e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66e06f0499a53f9bded9fdd9beed342260a6bdb6db24e6d364b3634740838e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e06f0499a53f9bded9fdd9beed342260a6bdb6db24e6d364b3634740838e4f", kill_on_drop: false }` [INFO] [stdout] 66e06f0499a53f9bded9fdd9beed342260a6bdb6db24e6d364b3634740838e4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7ebc16b132ec4828c71b5ba70e4d8ebc1c737588b1592d3138a49f119778b3a [INFO] running `Command { std: "docker" "start" "-a" "b7ebc16b132ec4828c71b5ba70e4d8ebc1c737588b1592d3138a49f119778b3a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling camino v1.1.2 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling unsafe-libyaml v0.2.5 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling clap v4.0.32 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling serde_yaml v0.9.16 [INFO] [stderr] Compiling toml v0.5.10 [INFO] [stderr] Compiling cargo_metadata v0.15.2 [INFO] [stderr] Compiling saphir-cli v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CrateModule`, `Enum`, `FileModule`, `ImplItem`, `InlineModule`, `ModuleKind`, `Struct`, and `Use` [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | item::{Enum, Impl, ImplItem, ImplItemKind, Item, ItemKind, Method, Struct, Use}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 17 | module::{CrateModule, FileModule, InlineModule, Module, ModuleKind}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/openapi/generate/response_info.rs:334:41 [INFO] [stdout] | [INFO] [stdout] 334 | ... if let Some(mut type_info) = success_response.type_info.as_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `path` are never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/file.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct File<'b> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | pub target: &'b Target<'b>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub file: SynFile, [INFO] [stdout] 15 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Use(Use<'b>), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Use(Use<'b>), [INFO] [stdout] 30 + Use(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | Struct(Struct<'b>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Struct(Struct<'b>), [INFO] [stdout] 31 + Struct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Enum(Enum<'b>), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - Enum(Enum<'b>), [INFO] [stdout] 32 + Enum(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `syn` are never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Use<'b> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 39 | pub item: &'b Item<'b>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub syn: &'b SynItemUse, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Use` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `syn` are never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Enum<'b> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 45 | pub item: &'b Item<'b>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | pub syn: &'b SynItemEnum, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `syn` are never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Struct<'b> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 51 | pub item: &'b Item<'b>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub syn: &'b SynItemStruct, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `syn` is never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ImplItem<'b> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 70 | pub im: &'b Impl<'b>, [INFO] [stdout] 71 | pub syn: &'b SynImplItem, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/browser.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn package_by_name(&self, name: &str) -> Option<&'b Package> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn package_by_name(&self, name: &str) -> Option<&'b Package<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/browser.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn packages(&'b self) -> &'b Vec { [INFO] [stdout] | ^^ -- ------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn packages(&'b self) -> &'b Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/module.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | fn items(&'b self) -> &Vec> { [INFO] [stdout] | ^^ -------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 186 | fn items(&'b self) -> &'b Vec> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/module.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn modules(&'b self) -> Result<&'b Vec, Error> { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 215 | pub fn modules(&'b self) -> Result<&'b Vec>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/package.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn dependancy(&'b self, name: &str) -> Option<&'b Package> { [INFO] [stdout] | ^^ -- ------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn dependancy(&'b self, name: &str) -> Option<&'b Package<'b>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/package.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | fn targets(&'b self) -> &'b Vec { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 73 | fn targets(&'b self) -> &'b Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/package.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn bin_target(&'b self) -> Option<&'b Target> { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 81 | pub fn bin_target(&'b self) -> Option<&'b Target<'b>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/package.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn lib_target(&'b self) -> Option<&'b Target> { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn lib_target(&'b self) -> Option<&'b Target<'b>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.34s [INFO] running `Command { std: "docker" "inspect" "b7ebc16b132ec4828c71b5ba70e4d8ebc1c737588b1592d3138a49f119778b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ebc16b132ec4828c71b5ba70e4d8ebc1c737588b1592d3138a49f119778b3a", kill_on_drop: false }` [INFO] [stdout] b7ebc16b132ec4828c71b5ba70e4d8ebc1c737588b1592d3138a49f119778b3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d53167397f7e83d9fab9a412090d65f4207bcc5bcc61cd4397891a12d139240c [INFO] running `Command { std: "docker" "start" "-a" "d53167397f7e83d9fab9a412090d65f4207bcc5bcc61cd4397891a12d139240c", kill_on_drop: false }` [INFO] [stderr] Compiling saphir-cli v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CrateModule`, `Enum`, `FileModule`, `ImplItem`, `InlineModule`, `ModuleKind`, `Struct`, and `Use` [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | item::{Enum, Impl, ImplItem, ImplItemKind, Item, ItemKind, Method, Struct, Use}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] 17 | module::{CrateModule, FileModule, InlineModule, Module, ModuleKind}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/openapi/generate/response_info.rs:334:41 [INFO] [stdout] | [INFO] [stdout] 334 | ... if let Some(mut type_info) = success_response.type_info.as_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target` and `path` are never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/file.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct File<'b> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | pub target: &'b Target<'b>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub file: SynFile, [INFO] [stdout] 15 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | Use(Use<'b>), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Use(Use<'b>), [INFO] [stdout] 30 + Use(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | Struct(Struct<'b>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Struct(Struct<'b>), [INFO] [stdout] 31 + Struct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | Enum(Enum<'b>), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - Enum(Enum<'b>), [INFO] [stdout] 32 + Enum(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `syn` are never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Use<'b> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 39 | pub item: &'b Item<'b>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub syn: &'b SynItemUse, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Use` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `syn` are never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Enum<'b> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 45 | pub item: &'b Item<'b>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | pub syn: &'b SynItemEnum, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `syn` are never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Struct<'b> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 51 | pub item: &'b Item<'b>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub syn: &'b SynItemStruct, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `syn` is never read [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/item.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ImplItem<'b> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 70 | pub im: &'b Impl<'b>, [INFO] [stdout] 71 | pub syn: &'b SynImplItem, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/browser.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn package_by_name(&self, name: &str) -> Option<&'b Package> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn package_by_name(&self, name: &str) -> Option<&'b Package<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/browser.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn packages(&'b self) -> &'b Vec { [INFO] [stdout] | ^^ -- ------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn packages(&'b self) -> &'b Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/module.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | fn items(&'b self) -> &Vec> { [INFO] [stdout] | ^^ -------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 186 | fn items(&'b self) -> &'b Vec> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/module.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn modules(&'b self) -> Result<&'b Vec, Error> { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 215 | pub fn modules(&'b self) -> Result<&'b Vec>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/package.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn dependancy(&'b self, name: &str) -> Option<&'b Package> { [INFO] [stdout] | ^^ -- ------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn dependancy(&'b self, name: &str) -> Option<&'b Package<'b>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/package.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | fn targets(&'b self) -> &'b Vec { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 73 | fn targets(&'b self) -> &'b Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/package.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn bin_target(&'b self) -> Option<&'b Target> { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 81 | pub fn bin_target(&'b self) -> Option<&'b Target<'b>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/openapi/generate/crate_syn_browser/package.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn lib_target(&'b self) -> Option<&'b Target> { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn lib_target(&'b self) -> Option<&'b Target<'b>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.73s [INFO] running `Command { std: "docker" "inspect" "d53167397f7e83d9fab9a412090d65f4207bcc5bcc61cd4397891a12d139240c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d53167397f7e83d9fab9a412090d65f4207bcc5bcc61cd4397891a12d139240c", kill_on_drop: false }` [INFO] [stdout] d53167397f7e83d9fab9a412090d65f4207bcc5bcc61cd4397891a12d139240c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13dbfa0f44908ab285b103a16dccf3093536d769787a96684429ec2e018daffa [INFO] running `Command { std: "docker" "start" "-a" "13dbfa0f44908ab285b103a16dccf3093536d769787a96684429ec2e018daffa", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `CrateModule`, `Enum`, `FileModule`, `ImplItem`, `InlineModule`, `ModuleKind`, `Struct`, and `Use` [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/mod.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | item::{Enum, Impl, ImplItem, ImplItemKind, Item, ItemKind, Method, Struct, Use}, [INFO] [stderr] | ^^^^ ^^^^^^^^ ^^^^^^ ^^^ [INFO] [stderr] 17 | module::{CrateModule, FileModule, InlineModule, Module, ModuleKind}, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/openapi/generate/response_info.rs:334:41 [INFO] [stderr] | [INFO] [stderr] 334 | ... if let Some(mut type_info) = success_response.type_info.as_mut() { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `target` and `path` are never read [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/file.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct File<'b> { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 13 | pub target: &'b Target<'b>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 14 | pub file: SynFile, [INFO] [stderr] 15 | pub path: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/item.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | Use(Use<'b>), [INFO] [stderr] | --- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ItemKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 30 - Use(Use<'b>), [INFO] [stderr] 30 + Use(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/item.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | Struct(Struct<'b>), [INFO] [stderr] | ------ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ItemKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 31 - Struct(Struct<'b>), [INFO] [stderr] 31 + Struct(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/item.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | Enum(Enum<'b>), [INFO] [stderr] | ---- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ItemKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 32 - Enum(Enum<'b>), [INFO] [stderr] 32 + Enum(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `item` and `syn` are never read [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/item.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct Use<'b> { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 39 | pub item: &'b Item<'b>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 40 | pub syn: &'b SynItemUse, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Use` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `item` and `syn` are never read [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/item.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct Enum<'b> { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 45 | pub item: &'b Item<'b>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 46 | pub syn: &'b SynItemEnum, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `item` and `syn` are never read [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/item.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct Struct<'b> { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 51 | pub item: &'b Item<'b>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 52 | pub syn: &'b SynItemStruct, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Struct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `syn` is never read [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/item.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 69 | pub struct ImplItem<'b> { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 70 | pub im: &'b Impl<'b>, [INFO] [stderr] 71 | pub syn: &'b SynImplItem, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ImplItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/browser.rs:23:28 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn package_by_name(&self, name: &str) -> Option<&'b Package> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | pub fn package_by_name(&self, name: &str) -> Option<&'b Package<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/browser.rs:39:22 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn packages(&'b self) -> &'b Vec { [INFO] [stderr] | ^^ -- ------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 39 | pub fn packages(&'b self) -> &'b Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/module.rs:186:15 [INFO] [stderr] | [INFO] [stderr] 186 | fn items(&'b self) -> &Vec> { [INFO] [stderr] | ^^ -------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 186 | fn items(&'b self) -> &'b Vec> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/module.rs:215:21 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn modules(&'b self) -> Result<&'b Vec, Error> { [INFO] [stderr] | ^^ -- ------ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 215 | pub fn modules(&'b self) -> Result<&'b Vec>, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/package.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn dependancy(&'b self, name: &str) -> Option<&'b Package> { [INFO] [stderr] | ^^ -- ------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 41 | pub fn dependancy(&'b self, name: &str) -> Option<&'b Package<'b>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/package.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 73 | fn targets(&'b self) -> &'b Vec { [INFO] [stderr] | ^^ -- ------ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 73 | fn targets(&'b self) -> &'b Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/package.rs:81:24 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn bin_target(&'b self) -> Option<&'b Target> { [INFO] [stderr] | ^^ -- ------ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 81 | pub fn bin_target(&'b self) -> Option<&'b Target<'b>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/openapi/generate/crate_syn_browser/package.rs:85:24 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn lib_target(&'b self) -> Option<&'b Target> { [INFO] [stderr] | ^^ -- ------ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 85 | pub fn lib_target(&'b self) -> Option<&'b Target<'b>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `saphir-cli` (bin "saphir" test) generated 18 warnings (run `cargo fix --bin "saphir" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/saphir-78673dea8b6fd074) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "13dbfa0f44908ab285b103a16dccf3093536d769787a96684429ec2e018daffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13dbfa0f44908ab285b103a16dccf3093536d769787a96684429ec2e018daffa", kill_on_drop: false }` [INFO] [stdout] 13dbfa0f44908ab285b103a16dccf3093536d769787a96684429ec2e018daffa