[INFO] fetching crate nom5_locate 0.1.1... [INFO] checking nom5_locate-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate nom5_locate 0.1.1 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nom5_locate 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding bytecount v0.3.2 (available: v0.6.9) [INFO] [stderr] Adding nom v5.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 887c6e6805a06902b1fe116fed25ecff2faca87e08044b3511add76050010042 [INFO] running `Command { std: "docker" "start" "-a" "887c6e6805a06902b1fe116fed25ecff2faca87e08044b3511add76050010042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "887c6e6805a06902b1fe116fed25ecff2faca87e08044b3511add76050010042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887c6e6805a06902b1fe116fed25ecff2faca87e08044b3511add76050010042", kill_on_drop: false }` [INFO] [stdout] 887c6e6805a06902b1fe116fed25ecff2faca87e08044b3511add76050010042 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0ce389acfa0491d83c889afd4c8a0570a3f214b0e57d2ef279152df403f610b [INFO] running `Command { std: "docker" "start" "-a" "e0ce389acfa0491d83c889afd4c8a0570a3f214b0e57d2ef279152df403f610b", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking nom5_locate v0.1.1 (/opt/rustwide/workdir) [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 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] 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] 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] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_str_fragments<'a, F, T>(parser: F, input: T, positions: Vec) [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 66 | remaining.fragment.input_len() == 0, [INFO] [stdout] | ^ expected type parameter `T`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `{integer}` [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] `&[T]` implements `Slice` [INFO] [stdout] `&[T]` implements `Slice>` [INFO] [stdout] `&[T]` implements `Slice>` [INFO] [stdout] `&[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] `&[T]` implements `Slice` [INFO] [stdout] `&[T]` implements `Slice>` [INFO] [stdout] `&[T]` implements `Slice>` [INFO] [stdout] `&[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] `&[T]` implements `Slice` [INFO] [stdout] `&[T]` implements `Slice>` [INFO] [stdout] `&[T]` implements `Slice>` [INFO] [stdout] `&[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] `&[T]` implements `Slice` [INFO] [stdout] `&[T]` implements `Slice>` [INFO] [stdout] `&[T]` implements `Slice>` [INFO] [stdout] `&[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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, 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` (bench "benches") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nom5_locate` (test "integration_tests") due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e0ce389acfa0491d83c889afd4c8a0570a3f214b0e57d2ef279152df403f610b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ce389acfa0491d83c889afd4c8a0570a3f214b0e57d2ef279152df403f610b", kill_on_drop: false }` [INFO] [stdout] e0ce389acfa0491d83c889afd4c8a0570a3f214b0e57d2ef279152df403f610b