[INFO] fetching crate yap 0.12.0... [INFO] testing yap-0.12.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate yap 0.12.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yap 0.12.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded beef v0.5.2 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d040ba7a54ba7b86f1285227e2f161b7fc62ef02baf6427f59b3ddf3171b3a7e [INFO] running `Command { std: "docker" "start" "-a" "d040ba7a54ba7b86f1285227e2f161b7fc62ef02baf6427f59b3ddf3171b3a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d040ba7a54ba7b86f1285227e2f161b7fc62ef02baf6427f59b3ddf3171b3a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d040ba7a54ba7b86f1285227e2f161b7fc62ef02baf6427f59b3ddf3171b3a7e", kill_on_drop: false }` [INFO] [stdout] d040ba7a54ba7b86f1285227e2f161b7fc62ef02baf6427f59b3ddf3171b3a7e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cf723fdb7b0ebe2979643b4104c9fdfb48cfd90383df5f49d25f178f30eaed8 [INFO] running `Command { std: "docker" "start" "-a" "2cf723fdb7b0ebe2979643b4104c9fdfb48cfd90383df5f49d25f178f30eaed8", 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.28s [INFO] running `Command { std: "docker" "inspect" "2cf723fdb7b0ebe2979643b4104c9fdfb48cfd90383df5f49d25f178f30eaed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cf723fdb7b0ebe2979643b4104c9fdfb48cfd90383df5f49d25f178f30eaed8", kill_on_drop: false }` [INFO] [stdout] 2cf723fdb7b0ebe2979643b4104c9fdfb48cfd90383df5f49d25f178f30eaed8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5ca3052b3fc767a5d2c9de800e0e072bff324a4a3fdd2b04eb25c5f0ec0a82e [INFO] running `Command { std: "docker" "start" "-a" "b5ca3052b3fc767a5d2c9de800e0e072bff324a4a3fdd2b04eb25c5f0ec0a82e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [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" "b5ca3052b3fc767a5d2c9de800e0e072bff324a4a3fdd2b04eb25c5f0ec0a82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ca3052b3fc767a5d2c9de800e0e072bff324a4a3fdd2b04eb25c5f0ec0a82e", kill_on_drop: false }` [INFO] [stdout] b5ca3052b3fc767a5d2c9de800e0e072bff324a4a3fdd2b04eb25c5f0ec0a82e