[INFO] fetching crate ubjson 0.1.0... [INFO] checking ubjson-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate ubjson 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ubjson 0.1.0 [INFO] finished tweaking crates.io crate ubjson 0.1.0 [INFO] tweaked toml for crates.io crate ubjson 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ubjson 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 93 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding memchr v2.3.4 (available: v2.7.5) [INFO] [stderr] Adding nom v6.2.2 (available: v8.0.0) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.4) [INFO] [stderr] Adding regex v1.8.4 (available: v1.11.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding toml_edit v0.19.12 (available: v0.19.15) [INFO] [stderr] Adding winnow v0.4.7 (available: v0.4.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_edit v0.19.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89005b36571853a85f49421538eb5486b196ac0cdc722c7c682c6f6f09e5f15b [INFO] running `Command { std: "docker" "start" "-a" "89005b36571853a85f49421538eb5486b196ac0cdc722c7c682c6f6f09e5f15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89005b36571853a85f49421538eb5486b196ac0cdc722c7c682c6f6f09e5f15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89005b36571853a85f49421538eb5486b196ac0cdc722c7c682c6f6f09e5f15b", kill_on_drop: false }` [INFO] [stdout] 89005b36571853a85f49421538eb5486b196ac0cdc722c7c682c6f6f09e5f15b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1beee7af03d2f0463ac496f09ceca130777b66695211f3b71c2af3e9333d7ba [INFO] running `Command { std: "docker" "start" "-a" "e1beee7af03d2f0463ac496f09ceca130777b66695211f3b71c2af3e9333d7ba", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling toml_edit v0.19.12 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking ubjson v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/values/../../test/samples/string/string_small.ubj`: No such file or directory (os error 2) [INFO] [stdout] --> src/values/string.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | const STRING_SMALL: &[u8] = include_bytes!("../../test/samples/string/string_small.ubj"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/values/../../test/samples/string/string_big.ubj`: No such file or directory (os error 2) [INFO] [stdout] --> src/values/string.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | const STRING_BIG: &[u8] = include_bytes!("../../test/samples/string/string_big.ubj"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test/samples/complex/CouchDB4k.ubj`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | const COMPLEX_COUCHDB: &[u8] = include_bytes!("../test/samples/complex/CouchDB4k.ubj"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test/samples/complex/MediaContent.ubj`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | const COMPLEX_MEDIA: &[u8] = include_bytes!("../test/samples/complex/MediaContent.ubj"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test/samples/complex/TwitterTimeline.ubj`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | const COMPLEX_TWITTER: &[u8] = include_bytes!("../test/samples/complex/TwitterTimeline.ubj"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ubjson` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(i: &'a [u8]) -> nom::IResult<&'a [u8], Self, UbjsonError>; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(i: &'a [u8]) -> nom::IResult<&'a [u8], Self, UbjsonError<'a>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_one<'a>(i: &'a [u8]) -> nom::IResult<&'a [u8], Container, UbjsonError> { [INFO] [stdout] | ^^ -- --------- ----------- the same lifetime is hidden here [INFO] [stdout] | | | | [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] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn parse_one<'a>(i: &'a [u8]) -> nom::IResult<&'a [u8], Container<'a>, UbjsonError<'a>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_length(i: &[u8]) -> nom::IResult<&[u8], usize, UbjsonError> { [INFO] [stdout] | ^^^^^ ----- ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 29 | fn parse_length(i: &[u8]) -> nom::IResult<&[u8], usize, UbjsonError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/marker.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse(i: &'a [u8]) -> nom::IResult<&'a [u8], Self, UbjsonError> { [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 `'a` [INFO] [stdout] | [INFO] [stdout] 27 | fn parse(i: &'a [u8]) -> nom::IResult<&'a [u8], Self, UbjsonError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/marker.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn parse_to_container(self, i: &[u8]) -> nom::IResult<&[u8], Container, UbjsonError> { [INFO] [stdout] | ^^^^^ ----- --------- ----------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 35 | pub fn parse_to_container(self, i: &[u8]) -> nom::IResult<&[u8], Container<'_>, UbjsonError<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/values/string.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse(i: &'a [u8]) -> nom::IResult<&'a [u8], Self, UbjsonError> { [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 `'a` [INFO] [stdout] | [INFO] [stdout] 24 | fn parse(i: &'a [u8]) -> nom::IResult<&'a [u8], Self, UbjsonError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e1beee7af03d2f0463ac496f09ceca130777b66695211f3b71c2af3e9333d7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1beee7af03d2f0463ac496f09ceca130777b66695211f3b71c2af3e9333d7ba", kill_on_drop: false }` [INFO] [stdout] e1beee7af03d2f0463ac496f09ceca130777b66695211f3b71c2af3e9333d7ba