[INFO] cloning repository https://github.com/emk/rust-slow-iteration-demo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emk/rust-slow-iteration-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Frust-slow-iteration-demo"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Frust-slow-iteration-demo'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f2ea535c506de87273be0529ef77b4ce8c19681b [INFO] checking emk/rust-slow-iteration-demo against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Frust-slow-iteration-demo" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emk/rust-slow-iteration-demo on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/emk/rust-slow-iteration-demo [INFO] finished tweaking git repo https://github.com/emk/rust-slow-iteration-demo [INFO] tweaked toml for git repo https://github.com/emk/rust-slow-iteration-demo written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/emk/rust-slow-iteration-demo already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d846131c3eaf7343ef9185e659f9a63167d9085c8ab86227befec3ae71d3414b [INFO] running `"docker" "start" "-a" "d846131c3eaf7343ef9185e659f9a63167d9085c8ab86227befec3ae71d3414b"` [INFO] [stderr] Checking rust-slow-iteration-demo v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/lib.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | for _ in range(0u, 200) { result.push_str(LINE); } [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/lib.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | for _ in range(0u, 200) { result.push_str(LINE); } [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | offset: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: module `range` is private [INFO] [stderr] --> src/lib.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | use std::iter::range; [INFO] [stderr] | ^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `range` is defined here [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/lib.rs:112:3 [INFO] [stderr] | [INFO] [stderr] 112 | #[bench] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[deny(soft_unstable)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/lib.rs:176:3 [INFO] [stderr] | [INFO] [stderr] 176 | #[bench] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/lib.rs:229:3 [INFO] [stderr] | [INFO] [stderr] 229 | #[bench] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | extern crate test; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:113:27 [INFO] [stderr] | [INFO] [stderr] 113 | fn copying_parser(b: &mut test::Bencher) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | test::black_box(result); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:177:29 [INFO] [stderr] | [INFO] [stderr] 177 | fn zero_copy_parser(b: &mut test::Bencher) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:189:33 [INFO] [stderr] | [INFO] [stderr] 189 | Some(line) => { test::black_box(line); } [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:230:39 [INFO] [stderr] | [INFO] [stderr] 230 | fn replacement_iterator_trait(b: &mut test::Bencher) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:238:13 [INFO] [stderr] | [INFO] [stderr] 238 | test::black_box(line); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stderr] --> src/lib.rs:74:18 [INFO] [stderr] | [INFO] [stderr] 68 | impl<'a> Buffer for BufferedReader<'a> { [INFO] [stderr] | -- first declared here [INFO] [stderr] ... [INFO] [stderr] 74 | fn next_line<'a>(&'a mut self) -> Option<&'a str> { [INFO] [stderr] | ^^ lifetime 'a already in scope [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stderr] --> src/lib.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | impl<'a> Iterator<(String,String,String)> for CopyingParser<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0496, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: could not compile `rust-slow-iteration-demo`. [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] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | offset: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: module `range` is private [INFO] [stderr] --> src/lib.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | use std::iter::range; [INFO] [stderr] | ^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `range` is defined here [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/lib.rs:112:3 [INFO] [stderr] | [INFO] [stderr] 112 | #[bench] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[deny(soft_unstable)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/lib.rs:176:3 [INFO] [stderr] | [INFO] [stderr] 176 | #[bench] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/lib.rs:229:3 [INFO] [stderr] | [INFO] [stderr] 229 | #[bench] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #64266 [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/lib.rs:214:1 [INFO] [stderr] | [INFO] [stderr] 214 | / macro_rules! streaming_for { [INFO] [stderr] 215 | | ($var:pat in $expr:expr, $b:stmt) => { [INFO] [stderr] 216 | | { [INFO] [stderr] 217 | | // Only evaluate once! [INFO] [stderr] ... | [INFO] [stderr] 226 | | }; [INFO] [stderr] 227 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | extern crate test; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stderr] --> src/lib.rs:74:18 [INFO] [stderr] | [INFO] [stderr] 68 | impl<'a> Buffer for BufferedReader<'a> { [INFO] [stderr] | -- first declared here [INFO] [stderr] ... [INFO] [stderr] 74 | fn next_line<'a>(&'a mut self) -> Option<&'a str> { [INFO] [stderr] | ^^ lifetime 'a already in scope [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stderr] --> src/lib.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | impl<'a> Iterator<(String,String,String)> for CopyingParser<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0496, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: could not compile `rust-slow-iteration-demo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d846131c3eaf7343ef9185e659f9a63167d9085c8ab86227befec3ae71d3414b"` [INFO] running `"docker" "rm" "-f" "d846131c3eaf7343ef9185e659f9a63167d9085c8ab86227befec3ae71d3414b"` [INFO] [stdout] d846131c3eaf7343ef9185e659f9a63167d9085c8ab86227befec3ae71d3414b