[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 beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Frust-slow-iteration-demo" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emk/rust-slow-iteration-demo on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "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-3/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" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=allow" "-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" "+beta-2019-10-27" "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] 39189bd3ccbac6d28d277384b5f8c98f3356c743f47fa303c09ac8c75c04a77b [INFO] running `"docker" "start" "-a" "39189bd3ccbac6d28d277384b5f8c98f3356c743f47fa303c09ac8c75c04a77b"` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/lib.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | #![feature(macro_rules, trace_macros)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: for more information, see https://github.com/rust-lang/rust/issues/50297 [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: for more information, see https://github.com/rust-lang/rust/issues/50297 [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: for more information, see https://github.com/rust-lang/rust/issues/50297 [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: for more information, see https://github.com/rust-lang/rust/issues/50297 [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: for more information, see https://github.com/rust-lang/rust/issues/50297 [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: for more information, see https://github.com/rust-lang/rust/issues/50297 [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: for more information, see https://github.com/rust-lang/rust/issues/50297 [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 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0496, E0554, 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] 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] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/lib.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | #![feature(macro_rules, trace_macros)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: for more information, see https://github.com/rust-lang/rust/issues/50297 [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 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0496, E0554, 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" "39189bd3ccbac6d28d277384b5f8c98f3356c743f47fa303c09ac8c75c04a77b"` [INFO] running `"docker" "rm" "-f" "39189bd3ccbac6d28d277384b5f8c98f3356c743f47fa303c09ac8c75c04a77b"` [INFO] [stdout] 39189bd3ccbac6d28d277384b5f8c98f3356c743f47fa303c09ac8c75c04a77b