[INFO] cloning repository https://github.com/Emurgo/cddl-codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emurgo/cddl-codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmurgo%2Fcddl-codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmurgo%2Fcddl-codegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 228fd49675e17ab6d960bd8a721e5a64f7de7b1a [INFO] building Emurgo/cddl-codegen against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmurgo%2Fcddl-codegen" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Emurgo/cddl-codegen [INFO] finished tweaking git repo https://github.com/Emurgo/cddl-codegen [INFO] tweaked toml for git repo https://github.com/Emurgo/cddl-codegen written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Emurgo/cddl-codegen on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Emurgo/cddl-codegen 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/dcSpark/codegen` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle-wincon v3.0.3 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.0 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded cbor_event v2.4.0 [INFO] [stderr] Downloaded base16 v0.2.1 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.4.5 [INFO] [stderr] Downloaded abnf-core v0.5.0 [INFO] [stderr] Downloaded ucd-trie v0.1.6 [INFO] [stderr] Downloaded cc v1.0.98 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded pest v2.7.10 [INFO] [stderr] Downloaded pest_meta v2.7.10 [INFO] [stderr] Downloaded pest_vm v2.7.10 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded simplelog v0.11.2 [INFO] [stderr] Downloaded abnf v0.12.0 [INFO] [stderr] Downloaded pretty v0.11.3 [INFO] [stderr] Downloaded abnf_to_pest v0.5.1 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded textwrap v0.16.1 [INFO] [stderr] Downloaded displaydoc v0.2.4 [INFO] [stderr] Downloaded anstyle-parse v0.2.4 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded anstream v0.6.14 [INFO] [stderr] Downloaded anstyle v1.0.7 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded base64-url v1.4.13 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded colorchoice v1.0.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.84 [INFO] [stderr] Downloaded cddl v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fd0b96cd87a86fb0423d90f57623a6e65d0318ef67ca50a7af23b141c421a4e [INFO] running `Command { std: "docker" "start" "-a" "7fd0b96cd87a86fb0423d90f57623a6e65d0318ef67ca50a7af23b141c421a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fd0b96cd87a86fb0423d90f57623a6e65d0318ef67ca50a7af23b141c421a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd0b96cd87a86fb0423d90f57623a6e65d0318ef67ca50a7af23b141c421a4e", kill_on_drop: false }` [INFO] [stdout] 7fd0b96cd87a86fb0423d90f57623a6e65d0318ef67ca50a7af23b141c421a4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55d1aee5226ea3fd89ff62c826f676416509cbae03d3021f366b9e109930a1bb [INFO] running `Command { std: "docker" "start" "-a" "55d1aee5226ea3fd89ff62c826f676416509cbae03d3021f366b9e109930a1bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling pretty v0.11.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling base64-url v1.4.13 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling cbor_event v2.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling abnf-core v0.5.0 [INFO] [stderr] Compiling abnf v0.12.0 [INFO] [stderr] Compiling abnf_to_pest v0.5.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling simplelog v0.11.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling codegen v0.2.0 (https://github.com/dcSpark/codegen?branch=master#c8273c6a) [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_vm v2.7.10 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling cddl v0.9.1 [INFO] [stderr] Compiling cddl-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/dep_graph.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ -- -- the same lifetime is named here [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is named here [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier<'a>, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generation.rs:8328:41 [INFO] [stdout] | [INFO] [stdout] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [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] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intermediate.rs:2284:34 [INFO] [stdout] | [INFO] [stdout] 2284 | pub fn to_embedded_rust_type(&self) -> Cow { [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] 2284 | pub fn to_embedded_rust_type(&self) -> Cow<'_, RustType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/dep_graph.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ -- -- the same lifetime is named here [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is named here [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier<'a>, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generation.rs:8328:41 [INFO] [stdout] | [INFO] [stdout] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [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] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intermediate.rs:2284:34 [INFO] [stdout] | [INFO] [stdout] 2284 | pub fn to_embedded_rust_type(&self) -> Cow { [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] 2284 | pub fn to_embedded_rust_type(&self) -> Cow<'_, RustType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.88s [INFO] running `Command { std: "docker" "inspect" "55d1aee5226ea3fd89ff62c826f676416509cbae03d3021f366b9e109930a1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55d1aee5226ea3fd89ff62c826f676416509cbae03d3021f366b9e109930a1bb", kill_on_drop: false }` [INFO] [stdout] 55d1aee5226ea3fd89ff62c826f676416509cbae03d3021f366b9e109930a1bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc57072b5ee2bc9e6d1b57f0ec8690101e64527f320e734dcf61d0e756df4a7d [INFO] running `Command { std: "docker" "start" "-a" "dc57072b5ee2bc9e6d1b57f0ec8690101e64527f320e734dcf61d0e756df4a7d", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/dep_graph.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ -- -- the same lifetime is named here [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is named here [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier<'a>, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generation.rs:8328:41 [INFO] [stdout] | [INFO] [stdout] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [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] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intermediate.rs:2284:34 [INFO] [stdout] | [INFO] [stdout] 2284 | pub fn to_embedded_rust_type(&self) -> Cow { [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] 2284 | pub fn to_embedded_rust_type(&self) -> Cow<'_, RustType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cddl-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/dep_graph.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ -- -- the same lifetime is named here [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is named here [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier<'a>, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/dep_graph.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | -- -- -- ^^^^^^^^^^ -- -- the same lifetime is named here [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is named here [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn find_references<'a>(cddl_rule: &'a Rule<'a>) -> (&'a Identifier<'a>, Vec<&'a Identifier<'a>>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generation.rs:8328:41 [INFO] [stdout] | [INFO] [stdout] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [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] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intermediate.rs:2284:34 [INFO] [stdout] | [INFO] [stdout] 2284 | pub fn to_embedded_rust_type(&self) -> Cow { [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] 2284 | pub fn to_embedded_rust_type(&self) -> Cow<'_, RustType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generation.rs:8328:41 [INFO] [stdout] | [INFO] [stdout] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [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] 8328 | pub fn rustfmt_generated_string(source: &str) -> std::io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intermediate.rs:2284:34 [INFO] [stdout] | [INFO] [stdout] 2284 | pub fn to_embedded_rust_type(&self) -> Cow { [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] 2284 | pub fn to_embedded_rust_type(&self) -> Cow<'_, RustType> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "dc57072b5ee2bc9e6d1b57f0ec8690101e64527f320e734dcf61d0e756df4a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc57072b5ee2bc9e6d1b57f0ec8690101e64527f320e734dcf61d0e756df4a7d", kill_on_drop: false }` [INFO] [stdout] dc57072b5ee2bc9e6d1b57f0ec8690101e64527f320e734dcf61d0e756df4a7d