[INFO] fetching crate yap 0.12.0... [INFO] testing yap-0.12.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate yap 0.12.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate yap 0.12.0 [INFO] finished tweaking crates.io crate yap 0.12.0 [INFO] tweaked toml for crates.io crate yap 0.12.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yap 0.12.0 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] crate crates.io crate yap 0.12.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded unicode-ident v1.0.12 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] [stderr] Downloaded regex-syntax v0.6.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc204cc504a3161d30d2795b879bb73b2467981de0de1810ceda1e356d5cac17 [INFO] running `Command { std: "docker" "start" "-a" "cc204cc504a3161d30d2795b879bb73b2467981de0de1810ceda1e356d5cac17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc204cc504a3161d30d2795b879bb73b2467981de0de1810ceda1e356d5cac17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc204cc504a3161d30d2795b879bb73b2467981de0de1810ceda1e356d5cac17", kill_on_drop: false }` [INFO] [stdout] cc204cc504a3161d30d2795b879bb73b2467981de0de1810ceda1e356d5cac17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27bc5abde05cfeeb48159c0d2c2bcb1e2fecc5dec4b6d859f5ef76283a051222 [INFO] running `Command { std: "docker" "start" "-a" "27bc5abde05cfeeb48159c0d2c2bcb1e2fecc5dec4b6d859f5ef76283a051222", kill_on_drop: false }` [INFO] [stderr] Compiling yap v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:583:24 [INFO] [stdout] | [INFO] [stdout] 583 | fn many(&mut self, parser: F) -> Many [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 583 | fn many(&mut self, parser: F) -> Many<'_, Self, F> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "27bc5abde05cfeeb48159c0d2c2bcb1e2fecc5dec4b6d859f5ef76283a051222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27bc5abde05cfeeb48159c0d2c2bcb1e2fecc5dec4b6d859f5ef76283a051222", kill_on_drop: false }` [INFO] [stdout] 27bc5abde05cfeeb48159c0d2c2bcb1e2fecc5dec4b6d859f5ef76283a051222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 674db541309977ee51a0307eb6c80d9156cf3b248112d90fd6d4834f74681a4c [INFO] running `Command { std: "docker" "start" "-a" "674db541309977ee51a0307eb6c80d9156cf3b248112d90fd6d4834f74681a4c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:583:24 [INFO] [stdout] | [INFO] [stdout] 583 | fn many(&mut self, parser: F) -> Many [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 583 | fn many(&mut self, parser: F) -> Many<'_, Self, F> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling yap v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/slice.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let n = s.parse::().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | fn test_parse_success() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/slice.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(s.collect::(), ""); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | fn test_parse_success() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/slice.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(toks.collect::(), "bc"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | fn test_parse_success() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/slice.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | s.parse::().unwrap_err(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 105 | fn test_parse_failure() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/slice.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(s.collect::(), "345"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 105 | fn test_parse_failure() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/slice.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | assert_eq!(toks.collect::(), "bc"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 105 | fn test_parse_failure() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | let n = tw.parse::().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | fn test_parse_success() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(tw.collect::(), ""); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | fn test_parse_success() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | tw.parse::().unwrap_err(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 121 | fn test_parse_failure() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(tw.collect::(), "345"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 121 | fn test_parse_failure() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | let s: String = toks.take(6).take_while(|t| t.is_numeric()).collect(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take.rs:138:39 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(toks.collect::(), "abc+"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 134 | fn take_while(mut toks: impl Tokens) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | let s: String = toks.take(6).take(4).collect(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take.rs:144:39 [INFO] [stdout] | [INFO] [stdout] 144 | assert_eq!(toks.collect::(), "bc+"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 140 | fn take(mut toks: impl Tokens) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take_while.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | let n = tw.parse::().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn test_parse_success() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take_while.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(tw.collect::(), ""); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn test_parse_success() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take_while.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | tw.parse::().unwrap_err(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | fn test_parse_failure() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take_while.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(tw.collect::(), "345"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | fn test_parse_failure() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take_while.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let s: String = toks [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take_while.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(toks.collect::(), "abc+"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 135 | fn take_while(mut toks: impl Tokens) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take_while.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | let s: String = toks.take_while(|t| t.is_alphanumeric()).take(4).collect(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/tokens/take_while.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(toks.collect::(), "bc+"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 144 | fn take(mut toks: impl Tokens) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yap` (lib test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "674db541309977ee51a0307eb6c80d9156cf3b248112d90fd6d4834f74681a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "674db541309977ee51a0307eb6c80d9156cf3b248112d90fd6d4834f74681a4c", kill_on_drop: false }` [INFO] [stdout] 674db541309977ee51a0307eb6c80d9156cf3b248112d90fd6d4834f74681a4c