[INFO] cloning repository https://github.com/Machtan/token-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Machtan/token-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMachtan%2Ftoken-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMachtan%2Ftoken-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b6f91edb12a582c8c52974fd381fc03d530eacb [INFO] checking Machtan/token-rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMachtan%2Ftoken-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Machtan/token-rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Machtan/token-rs [INFO] finished tweaking git repo https://github.com/Machtan/token-rs [INFO] tweaked toml for git repo https://github.com/Machtan/token-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Machtan/token-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3167de2fd8b5d06d9876e2588ad40f362087bd1c26951014ccdb5cd2509cfd17 [INFO] running `Command { std: "docker" "start" "-a" "3167de2fd8b5d06d9876e2588ad40f362087bd1c26951014ccdb5cd2509cfd17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3167de2fd8b5d06d9876e2588ad40f362087bd1c26951014ccdb5cd2509cfd17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3167de2fd8b5d06d9876e2588ad40f362087bd1c26951014ccdb5cd2509cfd17", kill_on_drop: false }` [INFO] [stdout] 3167de2fd8b5d06d9876e2588ad40f362087bd1c26951014ccdb5cd2509cfd17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c83690dfc22fcb558cf815b0357d95c8bb280fe37e0ccdf1b6aa52484d935b93 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c83690dfc22fcb558cf815b0357d95c8bb280fe37e0ccdf1b6aa52484d935b93", kill_on_drop: false }` [INFO] [stderr] Checking token v1.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Chars` in module `io` [INFO] [stdout] --> src/lib.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | chars: io::Chars, [INFO] [stdout] | ^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 30 | 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:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn next(&mut self) -> Result, 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:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn next(&mut self) -> Result, io::CharsError> { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let c = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let s = match try!(self.tokenizer.next()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Chars` in module `io` [INFO] [stdout] --> src/lib.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | chars: io::Chars, [INFO] [stdout] | ^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 30 | 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:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn next(&mut self) -> Result, 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:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn next(&mut self) -> Result, io::CharsError> { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let c = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let s = match try!(self.tokenizer.next()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `R` is never used [INFO] [stdout] --> src/lib.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct SentenceSplitter<'a, R: Read> { [INFO] [stdout] | ^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `R`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `token` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0392]: parameter `R` is never used [INFO] [stdout] --> src/lib.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct SentenceSplitter<'a, R: Read> { [INFO] [stdout] | ^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `R`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c83690dfc22fcb558cf815b0357d95c8bb280fe37e0ccdf1b6aa52484d935b93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c83690dfc22fcb558cf815b0357d95c8bb280fe37e0ccdf1b6aa52484d935b93", kill_on_drop: false }` [INFO] [stdout] c83690dfc22fcb558cf815b0357d95c8bb280fe37e0ccdf1b6aa52484d935b93