[INFO] fetching crate cddl 0.9.5... [INFO] testing cddl-0.9.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cddl 0.9.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate cddl 0.9.5 [INFO] finished tweaking crates.io crate cddl 0.9.5 [INFO] tweaked toml for crates.io crate cddl 0.9.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cddl 0.9.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cddl 0.9.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_vm v2.7.15 [INFO] [stderr] Downloaded pretty v0.11.3 [INFO] [stderr] Downloaded abnf-core v0.5.0 [INFO] [stderr] Downloaded base64-url v3.0.0 [INFO] [stderr] Downloaded abnf v0.12.0 [INFO] [stderr] Downloaded abnf_to_pest v0.5.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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc1cf68ca2ba8908f04b5b2e186127a6afa961028959574e8ee5788f137f62f6 [INFO] running `Command { std: "docker" "start" "-a" "dc1cf68ca2ba8908f04b5b2e186127a6afa961028959574e8ee5788f137f62f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc1cf68ca2ba8908f04b5b2e186127a6afa961028959574e8ee5788f137f62f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1cf68ca2ba8908f04b5b2e186127a6afa961028959574e8ee5788f137f62f6", kill_on_drop: false }` [INFO] [stdout] dc1cf68ca2ba8908f04b5b2e186127a6afa961028959574e8ee5788f137f62f6 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7f03fcfc73a2e98d68873d058cf2375269af16a298612dff3cb1332d2f23c6cc [INFO] running `Command { std: "docker" "start" "-a" "7f03fcfc73a2e98d68873d058cf2375269af16a298612dff3cb1332d2f23c6cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling lexical-util v1.0.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling lexical-parse-integer v1.0.5 [INFO] [stderr] Compiling lexical-write-integer v1.0.5 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling lexical-parse-float v1.0.5 [INFO] [stderr] Compiling pretty v0.11.3 [INFO] [stderr] Compiling lexical-write-float v1.0.5 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling base64-url v3.0.0 [INFO] [stderr] Compiling lexical-core v1.0.5 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling abnf-core v0.5.0 [INFO] [stderr] Compiling abnf v0.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling abnf_to_pest v0.5.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_vm v2.7.15 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling cddl v0.9.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn lexer_from_str(str_input: &str) -> Lexer { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | pub fn lexer_from_str(str_input: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn from_slice(input: &[u8]) -> Lexer { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | pub fn from_slice(input: &[u8]) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:3489:29 [INFO] [stdout] | [INFO] [stdout] 3489 | pub fn cddl_from_str(input: &str, print_stderr: bool) -> std::result::Result { [INFO] [stdout] | ^^^^ this lifetime flows to the output ---- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3489 | pub fn cddl_from_str(input: &str, print_stderr: bool) -> std::result::Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:3535:28 [INFO] [stdout] | [INFO] [stdout] 3535 | pub fn from_slice(input: &[u8]) -> std::result::Result { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3535 | pub fn from_slice(input: &[u8]) -> std::result::Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn as_value(&self) -> Option { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn as_value(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:656:28 [INFO] [stdout] | [INFO] [stdout] 656 | pub fn lookup_ident(ident: &str) -> Token { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 656 | pub fn lookup_ident(ident: &str) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.70s [INFO] running `Command { std: "docker" "inspect" "7f03fcfc73a2e98d68873d058cf2375269af16a298612dff3cb1332d2f23c6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f03fcfc73a2e98d68873d058cf2375269af16a298612dff3cb1332d2f23c6cc", kill_on_drop: false }` [INFO] [stdout] 7f03fcfc73a2e98d68873d058cf2375269af16a298612dff3cb1332d2f23c6cc [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7b5d25de18e9611ae027c174db85985df8ee508514dbf925a7df2033ad9199fc [INFO] running `Command { std: "docker" "start" "-a" "7b5d25de18e9611ae027c174db85985df8ee508514dbf925a7df2033ad9199fc", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn lexer_from_str(str_input: &str) -> Lexer { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | pub fn lexer_from_str(str_input: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn from_slice(input: &[u8]) -> Lexer { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | pub fn from_slice(input: &[u8]) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:3489:29 [INFO] [stdout] | [INFO] [stdout] 3489 | pub fn cddl_from_str(input: &str, print_stderr: bool) -> std::result::Result { [INFO] [stdout] | ^^^^ this lifetime flows to the output ---- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3489 | pub fn cddl_from_str(input: &str, print_stderr: bool) -> std::result::Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:3535:28 [INFO] [stdout] | [INFO] [stdout] 3535 | pub fn from_slice(input: &[u8]) -> std::result::Result { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3535 | pub fn from_slice(input: &[u8]) -> std::result::Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn as_value(&self) -> Option { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn as_value(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:656:28 [INFO] [stdout] | [INFO] [stdout] 656 | pub fn lookup_ident(ident: &str) -> Token { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 656 | pub fn lookup_ident(ident: &str) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.50 [INFO] [stderr] Compiling cddl v0.9.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn lexer_from_str(str_input: &str) -> Lexer { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 302 | pub fn lexer_from_str(str_input: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn from_slice(input: &[u8]) -> Lexer { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | pub fn from_slice(input: &[u8]) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:3489:29 [INFO] [stdout] | [INFO] [stdout] 3489 | pub fn cddl_from_str(input: &str, print_stderr: bool) -> std::result::Result { [INFO] [stdout] | ^^^^ this lifetime flows to the output ---- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3489 | pub fn cddl_from_str(input: &str, print_stderr: bool) -> std::result::Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:3535:28 [INFO] [stdout] | [INFO] [stdout] 3535 | pub fn from_slice(input: &[u8]) -> std::result::Result { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3535 | pub fn from_slice(input: &[u8]) -> std::result::Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn as_value(&self) -> Option { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn as_value(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/token.rs:656:28 [INFO] [stdout] | [INFO] [stdout] 656 | pub fn lookup_ident(ident: &str) -> Token { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 656 | pub fn lookup_ident(ident: &str) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.34s [INFO] running `Command { std: "docker" "inspect" "7b5d25de18e9611ae027c174db85985df8ee508514dbf925a7df2033ad9199fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b5d25de18e9611ae027c174db85985df8ee508514dbf925a7df2033ad9199fc", kill_on_drop: false }` [INFO] [stdout] 7b5d25de18e9611ae027c174db85985df8ee508514dbf925a7df2033ad9199fc [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d54303dea2fe92934c32fa490e0a484527a062f5ef9721eba6df2dc31a0d519d [INFO] running `Command { std: "docker" "start" "-a" "d54303dea2fe92934c32fa490e0a484527a062f5ef9721eba6df2dc31a0d519d", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lexer.rs:302:34 [INFO] [stderr] | [INFO] [stderr] 302 | pub fn lexer_from_str(str_input: &str) -> Lexer { [INFO] [stderr] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 302 | pub fn lexer_from_str(str_input: &str) -> Lexer<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lexer.rs:323:28 [INFO] [stderr] | [INFO] [stderr] 323 | pub fn from_slice(input: &[u8]) -> Lexer { [INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 323 | pub fn from_slice(input: &[u8]) -> Lexer<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:3489:29 [INFO] [stderr] | [INFO] [stderr] 3489 | pub fn cddl_from_str(input: &str, print_stderr: bool) -> std::result::Result { [INFO] [stderr] | ^^^^ this lifetime flows to the output ---- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 3489 | pub fn cddl_from_str(input: &str, print_stderr: bool) -> std::result::Result, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser.rs:3535:28 [INFO] [stderr] | [INFO] [stderr] 3535 | pub fn from_slice(input: &[u8]) -> std::result::Result { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 3535 | pub fn from_slice(input: &[u8]) -> std::result::Result, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/token.rs:345:19 [INFO] [stderr] | [INFO] [stderr] 345 | pub fn as_value(&self) -> Option { [INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 345 | pub fn as_value(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/token.rs:656:28 [INFO] [stderr] | [INFO] [stderr] 656 | pub fn lookup_ident(ident: &str) -> Token { [INFO] [stderr] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 656 | pub fn lookup_ident(ident: &str) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `cddl` (lib) generated 7 warnings (run `cargo fix --lib -p cddl` to apply 6 suggestions) [INFO] [stderr] warning: `cddl` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cddl-3dc719cedb860051) [INFO] [stdout] [INFO] [stdout] running 57 tests [INFO] [stdout] test ast::parent::tests::group_entry_parent_is_group_rule ... ok [INFO] [stdout] test ast::parent::tests::generic_arg_parent_is_generic_args ... ok [INFO] [stdout] test ast::parent::tests::ctrl_parent_is_rangectlop ... ok [INFO] [stdout] test ast::parent::tests::rule_parent_is_cddl ... ok [INFO] [stdout] test ast::parent::tests::generic_params_parent_is_type_rule ... ok [INFO] [stdout] test ast::parent::tests::group_parent_is_type2 ... ok [INFO] [stdout] test ast::parent::tests::generic_param_parent_is_generic_params ... ok [INFO] [stdout] test ast::parent::tests::type2_parent_is_type1 ... ok [INFO] [stdout] test ast::parent::tests::type1_parent_is_type_choice ... ok [INFO] [stdout] test ast::parent::tests::text_value_parent_is_type2 ... ok [INFO] [stdout] test ast::parent::tests::type_and_group_rule_parent_is_rule ... ok [INFO] [stdout] test ast::parent::tests::type_parent_is_type_rule ... ok [INFO] [stdout] test ast::parent::tests::generic_args_parent_is_type2 ... ok [INFO] [stdout] test ast::parent::tests::type_choice_parent_is_type ... ok [INFO] [stdout] test ast::tests::verify_groupentry_output ... ok [INFO] [stdout] test ast::tests::verify_group_output ... ok [INFO] [stdout] test lexer::tests::verify_controlop ... ok [INFO] [stdout] test ast::parent::tests::identifier_parent_is_type2 ... ok [INFO] [stdout] test lexer::tests::verify_hexfloat ... ok [INFO] [stdout] test lexer::tests::verify_multiline_byte_string ... ok [INFO] [stdout] test lexer::tests::verify_exponent ... ok [INFO] [stdout] test lexer::tests::verify_range ... ok [INFO] [stdout] test validator::cbor::tests::extract_cbor ... ok [INFO] [stdout] test lexer::tests::verify_lexer_diagnostic ... ok [INFO] [stdout] test parser::tests::test_multiple_rules_with_reference_to_parenthesized_type ... ok [INFO] [stdout] test validator::cbor::tests::tagged_data_in_array_validation ... ok [INFO] [stdout] test lexer::tests::verify_next_token ... ok [INFO] [stdout] test validator::cbor::tests::multi_type_choice_type_rule_array_validation ... ok [INFO] [stdout] test validator::cbor::tests::validate_bstr_size_exclusive_range ... ok [INFO] [stdout] test validator::cbor::tests::validate_abnfb_2 ... ok [INFO] [stdout] test ast::parent::tests::type_rule_name_ident_parent_is_type_rule ... ok [INFO] [stdout] test validator::cbor::tests::validate_bstr_size_range ... ok [INFO] [stdout] test validator::cbor::tests::validate_feature ... ok [INFO] [stdout] test validator::cbor::tests::validate_group_choice_alternate_in_array ... ok [INFO] [stdout] test validator::cbor::tests::validate_direct_nested_array ... ok [INFO] [stdout] test validator::cbor::tests::validate_abnfb_1 ... ok [INFO] [stdout] test validator::cbor::tests::validate_tdate_tag ... ok [INFO] [stdout] test validator::cbor::tests::validate_nested_arrays ... ok [INFO] [stdout] test validator::cbor::tests::validate_nested_cbor ... ok [INFO] [stdout] test validator::control::tests::test_cat ... ok [INFO] [stdout] test validator::control::tests::test_cat_with_dedent ... ok [INFO] [stdout] test validator::cbor::tests::validate_nested_cbor_in_array ... ok [INFO] [stdout] test validator::json::tests::size_control_validation_error ... ok [INFO] [stdout] test validator::cbor::tests::validate_type_choice_alternate ... ok [INFO] [stdout] test validator::json::tests::validate_feature ... ok [INFO] [stdout] test validator::json::tests::validate_group_choice_alternate ... ok [INFO] [stdout] test validator::json::tests::validate_direct_nested_array ... ok [INFO] [stdout] test validator::json::tests::validate_occurrences_in_object ... ok [INFO] [stdout] test validator::json::tests::validate_group_choice_alternate_in_array_1 ... ok [INFO] [stdout] test validator::json::tests::validate_optional_occurrences_in_object ... ok [INFO] [stdout] test validator::json::tests::validate_group_choice_alternate_in_array_2 ... ok [INFO] [stdout] test validator::control::tests::test_abnf ... ok [INFO] [stdout] test validator::json::tests::validate_type_choice_alternate ... ok [INFO] [stdout] test validator::tests::validate_json ... ok [INFO] [stdout] test validator::json::tests::validate_plus ... ok [INFO] [stdout] test validator::json::tests::validate_nested_arrays ... ok [INFO] [stdout] test validator::json::tests::validate_range_operators ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 57 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/cli.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cddl-a91fc6f678ebb311) [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" "d54303dea2fe92934c32fa490e0a484527a062f5ef9721eba6df2dc31a0d519d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d54303dea2fe92934c32fa490e0a484527a062f5ef9721eba6df2dc31a0d519d", kill_on_drop: false }` [INFO] [stdout] d54303dea2fe92934c32fa490e0a484527a062f5ef9721eba6df2dc31a0d519d