[INFO] fetching crate token 1.0.0-rc1... [INFO] checking token-1.0.0-rc1 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate token 1.0.0-rc1 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate token 1.0.0-rc1 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate token 1.0.0-rc1 [INFO] finished tweaking crates.io crate token 1.0.0-rc1 [INFO] tweaked toml for crates.io crate token 1.0.0-rc1 written to /workspace/builds/worker-17/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d98218cd016c53c2444fb3056f26cda558b6895e677c91e89d93f3b987e169d [INFO] running `Command { std: "docker" "start" "-a" "3d98218cd016c53c2444fb3056f26cda558b6895e677c91e89d93f3b987e169d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d98218cd016c53c2444fb3056f26cda558b6895e677c91e89d93f3b987e169d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d98218cd016c53c2444fb3056f26cda558b6895e677c91e89d93f3b987e169d", kill_on_drop: false }` [INFO] [stdout] 3d98218cd016c53c2444fb3056f26cda558b6895e677c91e89d93f3b987e169d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44918f4ae32ff49ac8f58e38f49c1b6dde55ecbfcf1f0974c64eeb45a5f55859 [INFO] running `Command { std: "docker" "start" "-a" "44918f4ae32ff49ac8f58e38f49c1b6dde55ecbfcf1f0974c64eeb45a5f55859", kill_on_drop: false }` [INFO] [stderr] Checking token v1.0.0-rc1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::ReadExt` [INFO] [stdout] --> src/lib.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | use std::io::{Read, ReadExt}; [INFO] [stdout] | ^^^^^^^ no `ReadExt` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::ReadExt` [INFO] [stdout] --> src/lib.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | use std::io::{Read, ReadExt}; [INFO] [stdout] | ^^^^^^^ no `ReadExt` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Chars` in module `io` [INFO] [stdout] --> src/lib.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | chars: io::Chars, [INFO] [stdout] | ^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 47 | use std::str::Chars; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Chars` in module `io` [INFO] [stdout] --> src/lib.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | chars: io::Chars, [INFO] [stdout] | ^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 47 | use std::str::Chars; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | type Item = Result<&'a str, io::CharsError>; [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:175:37 [INFO] [stdout] | [INFO] [stdout] 175 | type Item = Result<&'b str, io::CharsError>; [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | type Item = Result<&'a str, io::CharsError>; [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:178:51 [INFO] [stdout] | [INFO] [stdout] 178 | fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:175:37 [INFO] [stdout] | [INFO] [stdout] 175 | type Item = Result<&'b str, io::CharsError>; [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/lib.rs:178:51 [INFO] [stdout] | [INFO] [stdout] 178 | fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/lib.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | impl<'a, R: Read> Iterator for Tokenizer { [INFO] [stdout] | ^^ unconstrained lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/lib.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | impl<'a, R: Read> Iterator for Tokenizer { [INFO] [stdout] | ^^ unconstrained lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the lifetime parameter `'b` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/lib.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | impl <'a, 'b, R: Read> Iterator for SentenceSplitter<'a, R> { [INFO] [stdout] | ^^ unconstrained lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the lifetime parameter `'b` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/lib.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | impl <'a, 'b, R: Read> Iterator for SentenceSplitter<'a, R> { [INFO] [stdout] | ^^ unconstrained lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0207, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0207`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0207, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0207`. [INFO] [stdout] [INFO] [stderr] error: could not compile `token` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "44918f4ae32ff49ac8f58e38f49c1b6dde55ecbfcf1f0974c64eeb45a5f55859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44918f4ae32ff49ac8f58e38f49c1b6dde55ecbfcf1f0974c64eeb45a5f55859", kill_on_drop: false }` [INFO] [stdout] 44918f4ae32ff49ac8f58e38f49c1b6dde55ecbfcf1f0974c64eeb45a5f55859