[INFO] fetching crate yap 0.12.0... [INFO] testing yap-0.12.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate yap 0.12.0 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yap 0.12.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] debf5fb5940a17a6680ea84b4739f455e5096773e9462b0b935b059b21f7567b [INFO] running `Command { std: "docker" "start" "-a" "debf5fb5940a17a6680ea84b4739f455e5096773e9462b0b935b059b21f7567b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "debf5fb5940a17a6680ea84b4739f455e5096773e9462b0b935b059b21f7567b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debf5fb5940a17a6680ea84b4739f455e5096773e9462b0b935b059b21f7567b", kill_on_drop: false }` [INFO] [stdout] debf5fb5940a17a6680ea84b4739f455e5096773e9462b0b935b059b21f7567b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc1fed53f908014c3928fe8cbde098f09ba0b5fb12c20edf15de623a3ab31073 [INFO] running `Command { std: "docker" "start" "-a" "bc1fed53f908014c3928fe8cbde098f09ba0b5fb12c20edf15de623a3ab31073", 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.36s [INFO] running `Command { std: "docker" "inspect" "bc1fed53f908014c3928fe8cbde098f09ba0b5fb12c20edf15de623a3ab31073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1fed53f908014c3928fe8cbde098f09ba0b5fb12c20edf15de623a3ab31073", kill_on_drop: false }` [INFO] [stdout] bc1fed53f908014c3928fe8cbde098f09ba0b5fb12c20edf15de623a3ab31073 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3eaf87fd429229bdd45a92c2ec02172d14c63aa989577b76dc76f17df881982 [INFO] running `Command { std: "docker" "start" "-a" "e3eaf87fd429229bdd45a92c2ec02172d14c63aa989577b76dc76f17df881982", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [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" "e3eaf87fd429229bdd45a92c2ec02172d14c63aa989577b76dc76f17df881982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3eaf87fd429229bdd45a92c2ec02172d14c63aa989577b76dc76f17df881982", kill_on_drop: false }` [INFO] [stdout] e3eaf87fd429229bdd45a92c2ec02172d14c63aa989577b76dc76f17df881982