[INFO] fetching crate nom5_locate 0.1.1... [INFO] checking nom5_locate-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate nom5_locate 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate nom5_locate 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nom5_locate 0.1.1 [INFO] finished tweaking crates.io crate nom5_locate 0.1.1 [INFO] tweaked toml for crates.io crate nom5_locate 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 11 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bytecount v0.3.2 (available: v0.6.8) [INFO] [stderr] Adding lexical-core v0.7.6 (available: v1.0.2) [INFO] [stderr] Adding nom v5.1.3 (available: v7.1.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecount v0.3.2 [INFO] [stderr] Downloaded simd v0.2.4 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded lexical-core v0.7.6 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f17ee835c25a07b0a1fad0f2e8f41b0ba1c8e9aa457aee5d6293b13137796e03 [INFO] running `Command { std: "docker" "start" "-a" "f17ee835c25a07b0a1fad0f2e8f41b0ba1c8e9aa457aee5d6293b13137796e03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f17ee835c25a07b0a1fad0f2e8f41b0ba1c8e9aa457aee5d6293b13137796e03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f17ee835c25a07b0a1fad0f2e8f41b0ba1c8e9aa457aee5d6293b13137796e03", kill_on_drop: false }` [INFO] [stdout] f17ee835c25a07b0a1fad0f2e8f41b0ba1c8e9aa457aee5d6293b13137796e03 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbd38623a1baf09d9fdfa9f79f5874ee81d49033b549db78b036d8b9fdbc8c6c [INFO] running `Command { std: "docker" "start" "-a" "fbd38623a1baf09d9fdfa9f79f5874ee81d49033b549db78b036d8b9fdbc8c6c", kill_on_drop: false }` [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking nom5_locate v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `nom_locate` [INFO] [stdout] --> benches/benches.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom_locate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `nom_locate` [INFO] [stdout] --> tests/integration_tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate nom_locate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> benches/benches.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `ws`: whitespace parsing only works with macros and will not be updated anymore [INFO] [stdout] --> tests/integration_tests.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / named!(simple_parser_str< StrSpan, Vec >, do_parse!( [INFO] [stdout] 16 | | foo: ws!(tag!("foo")) >> [INFO] [stdout] 17 | | bar: ws!(tag!("bar")) >> [INFO] [stdout] 18 | | baz: many0!(complete!(ws!(tag!("baz")))) >> [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] 26 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `ws`: whitespace parsing only works with macros and will not be updated anymore [INFO] [stdout] --> tests/integration_tests.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / named!(simple_parser_str< StrSpan, Vec >, do_parse!( [INFO] [stdout] 16 | | foo: ws!(tag!("foo")) >> [INFO] [stdout] 17 | | bar: ws!(tag!("bar")) >> [INFO] [stdout] 18 | | baz: many0!(complete!(ws!(tag!("baz")))) >> [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] 26 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `ws`: whitespace parsing only works with macros and will not be updated anymore [INFO] [stdout] --> tests/integration_tests.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / named!(simple_parser_str< StrSpan, Vec >, do_parse!( [INFO] [stdout] 16 | | foo: ws!(tag!("foo")) >> [INFO] [stdout] 17 | | bar: ws!(tag!("bar")) >> [INFO] [stdout] 18 | | baz: many0!(complete!(ws!(tag!("baz")))) >> [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] 26 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `complete` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `ws`: whitespace parsing only works with macros and will not be updated anymore [INFO] [stdout] --> tests/integration_tests.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / named!(simple_parser_u8< BytesSpan, Vec >, do_parse!( [INFO] [stdout] 29 | | foo: ws!(tag!("foo")) >> [INFO] [stdout] 30 | | bar: ws!(tag!("bar")) >> [INFO] [stdout] 31 | | baz: many0!(complete!(ws!(tag!("baz")))) >> [INFO] [stdout] ... | [INFO] [stdout] 38 | | }) [INFO] [stdout] 39 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `ws`: whitespace parsing only works with macros and will not be updated anymore [INFO] [stdout] --> tests/integration_tests.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / named!(simple_parser_u8< BytesSpan, Vec >, do_parse!( [INFO] [stdout] 29 | | foo: ws!(tag!("foo")) >> [INFO] [stdout] 30 | | bar: ws!(tag!("bar")) >> [INFO] [stdout] 31 | | baz: many0!(complete!(ws!(tag!("baz")))) >> [INFO] [stdout] ... | [INFO] [stdout] 38 | | }) [INFO] [stdout] 39 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `ws`: whitespace parsing only works with macros and will not be updated anymore [INFO] [stdout] --> tests/integration_tests.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / named!(simple_parser_u8< BytesSpan, Vec >, do_parse!( [INFO] [stdout] 29 | | foo: ws!(tag!("foo")) >> [INFO] [stdout] 30 | | bar: ws!(tag!("bar")) >> [INFO] [stdout] 31 | | baz: many0!(complete!(ws!(tag!("baz")))) >> [INFO] [stdout] ... | [INFO] [stdout] 38 | | }) [INFO] [stdout] 39 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `complete` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Slice` [INFO] [stdout] --> benches/benches.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::Slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nom5_locate` (bench "benches") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `&[u8; 9]: Slice>` is not satisfied [INFO] [stdout] --> tests/integration_tests.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 154 | test_str_fragments( [INFO] [stdout] | ------------------ required by a bound introduced by this call [INFO] [stdout] 155 | simple_parser_u8, [INFO] [stdout] 156 | b"foobarbaz", [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Slice>` is not implemented for `&[u8; 9]` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Slice`: [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] `&'a [T]` implements `Slice` [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] note: required by a bound in `test_str_fragments` [INFO] [stdout] --> tests/integration_tests.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_str_fragments<'a, F, T>(parser: F, input: T, positions: Vec) [INFO] [stdout] | ------------------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 51 | T: InputLength + Slice> + Slice + Debug + PartialEq + AsBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `test_str_fragments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8; 9]: Slice` is not satisfied [INFO] [stdout] --> tests/integration_tests.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 154 | test_str_fragments( [INFO] [stdout] | ------------------ required by a bound introduced by this call [INFO] [stdout] 155 | simple_parser_u8, [INFO] [stdout] 156 | b"foobarbaz", [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Slice` is not implemented for `&[u8; 9]` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Slice`: [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] `&'a [T]` implements `Slice` [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] note: required by a bound in `test_str_fragments` [INFO] [stdout] --> tests/integration_tests.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_str_fragments<'a, F, T>(parser: F, input: T, positions: Vec) [INFO] [stdout] | ------------------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 51 | T: InputLength + Slice> + Slice + Debug + PartialEq + AsBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `test_str_fragments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8; 32]: Slice>` is not satisfied [INFO] [stdout] --> tests/integration_tests.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 184 | test_str_fragments( [INFO] [stdout] | ------------------ required by a bound introduced by this call [INFO] [stdout] 185 | simple_parser_u8, [INFO] [stdout] 186 | / b" foo [INFO] [stdout] 187 | | bar [INFO] [stdout] 188 | | baz", [INFO] [stdout] | |________________^ the trait `Slice>` is not implemented for `&[u8; 32]` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Slice`: [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] `&'a [T]` implements `Slice` [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] note: required by a bound in `test_str_fragments` [INFO] [stdout] --> tests/integration_tests.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_str_fragments<'a, F, T>(parser: F, input: T, positions: Vec) [INFO] [stdout] | ------------------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 51 | T: InputLength + Slice> + Slice + Debug + PartialEq + AsBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `test_str_fragments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8; 32]: Slice` is not satisfied [INFO] [stdout] --> tests/integration_tests.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 184 | test_str_fragments( [INFO] [stdout] | ------------------ required by a bound introduced by this call [INFO] [stdout] 185 | simple_parser_u8, [INFO] [stdout] 186 | / b" foo [INFO] [stdout] 187 | | bar [INFO] [stdout] 188 | | baz", [INFO] [stdout] | |________________^ the trait `Slice` is not implemented for `&[u8; 32]` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Slice`: [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] `&'a [T]` implements `Slice` [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] `&'a [T]` implements `Slice>` [INFO] [stdout] note: required by a bound in `test_str_fragments` [INFO] [stdout] --> tests/integration_tests.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_str_fragments<'a, F, T>(parser: F, input: T, positions: Vec) [INFO] [stdout] | ------------------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 51 | T: InputLength + Slice> + Slice + Debug + PartialEq + AsBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `test_str_fragments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FindSubstring` [INFO] [stdout] --> tests/integration_tests.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::{AsBytes, FindSubstring, IResult, InputLength, Slice}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nom5_locate` (test "integration_tests") due to 6 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fbd38623a1baf09d9fdfa9f79f5874ee81d49033b549db78b036d8b9fdbc8c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd38623a1baf09d9fdfa9f79f5874ee81d49033b549db78b036d8b9fdbc8c6c", kill_on_drop: false }` [INFO] [stdout] fbd38623a1baf09d9fdfa9f79f5874ee81d49033b549db78b036d8b9fdbc8c6c