[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f2ea535c506de87273be0529ef77b4ce8c19681b [INFO] checking emk/rust-slow-iteration-demo against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Frust-slow-iteration-demo" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emk/rust-slow-iteration-demo on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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-6/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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] aecf7c99ca47677b06eca9a95aa68350571a9e1fe6049f51146b0ed9e3baba88 [INFO] running `"docker" "start" "-a" "aecf7c99ca47677b06eca9a95aa68350571a9e1fe6049f51146b0ed9e3baba88"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] 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[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[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[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: 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[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[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[E0046]: not all trait items implemented, missing: `Item` [INFO] [stderr] --> src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | impl<'a> Iterator<(String,String,String)> for CopyingParser<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `type Item = Type;` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stderr] --> src/lib.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | impl<'a> Iterator<(String,String,String)> for CopyingParser<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `type Item = Type;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&'a str` in the current scope [INFO] [stderr] --> src/lib.rs:76:32 [INFO] [stderr] | [INFO] [stderr] 76 | let result = self.file.slice(self.offset, self.offset + LINE.len()); [INFO] [stderr] | ^^^^^ method not found in `&'a str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:80:26 [INFO] [stderr] | [INFO] [stderr] 80 | Some(self.buffer.as_slice()) [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&str` in the current scope [INFO] [stderr] --> src/lib.rs:104:28 [INFO] [stderr] | [INFO] [stderr] 104 | Some((line.slice(0, 3).to_string(), [INFO] [stderr] | ^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&str` in the current scope [INFO] [stderr] --> src/lib.rs:105:28 [INFO] [stderr] | [INFO] [stderr] 105 | line.slice(4, 7).to_string(), [INFO] [stderr] | ^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&str` in the current scope [INFO] [stderr] --> src/lib.rs:106:28 [INFO] [stderr] | [INFO] [stderr] 106 | line.slice(8, 11).to_string())) [INFO] [stderr] | ^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&'a str` in the current scope [INFO] [stderr] --> src/lib.rs:76:32 [INFO] [stderr] | [INFO] [stderr] 76 | let result = self.file.slice(self.offset, self.offset + LINE.len()); [INFO] [stderr] | ^^^^^ method not found in `&'a str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&&str` in the current scope [INFO] [stderr] --> src/lib.rs:153:28 [INFO] [stderr] | [INFO] [stderr] 153 | Some((line.slice(0, 3), [INFO] [stderr] | ^^^^^ method not found in `&&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&&str` in the current scope [INFO] [stderr] --> src/lib.rs:154:28 [INFO] [stderr] | [INFO] [stderr] 154 | line.slice(4, 7), [INFO] [stderr] | ^^^^^ method not found in `&&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:80:26 [INFO] [stderr] | [INFO] [stderr] 80 | Some(self.buffer.as_slice()) [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&str` in the current scope [INFO] [stderr] --> src/lib.rs:104:28 [INFO] [stderr] | [INFO] [stderr] 104 | Some((line.slice(0, 3).to_string(), [INFO] [stderr] | ^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&str` in the current scope [INFO] [stderr] --> src/lib.rs:105:28 [INFO] [stderr] | [INFO] [stderr] 105 | line.slice(4, 7).to_string(), [INFO] [stderr] | ^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&str` in the current scope [INFO] [stderr] --> src/lib.rs:106:28 [INFO] [stderr] | [INFO] [stderr] 106 | line.slice(8, 11).to_string())) [INFO] [stderr] | ^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | b.bytes = file.len() as u64; [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:116:7 [INFO] [stderr] | [INFO] [stderr] 116 | b.iter(|| { [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[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:117:51 [INFO] [stderr] | [INFO] [stderr] 117 | let mut reader = BufferedReader::new(file.as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&&str` in the current scope [INFO] [stderr] --> src/lib.rs:153:28 [INFO] [stderr] | [INFO] [stderr] 153 | Some((line.slice(0, 3), [INFO] [stderr] | ^^^^^ method not found in `&&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&&str` in the current scope [INFO] [stderr] --> src/lib.rs:154:28 [INFO] [stderr] | [INFO] [stderr] 154 | line.slice(4, 7), [INFO] [stderr] | ^^^^^ method not found in `&&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice` found for reference `&&str` in the current scope [INFO] [stderr] --> src/lib.rs:155:28 [INFO] [stderr] | [INFO] [stderr] 155 | line.slice(8, 11))) [INFO] [stderr] | ^^^^^ method not found in `&&str` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | b.bytes = file.len() as u64; [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:180:7 [INFO] [stderr] | [INFO] [stderr] 180 | b.iter(|| -> () { [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[E0599]: no method named `slice` found for reference `&&str` in the current scope [INFO] [stderr] --> src/lib.rs:155:28 [INFO] [stderr] | [INFO] [stderr] 155 | line.slice(8, 11))) [INFO] [stderr] | ^^^^^ method not found in `&&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:181:51 [INFO] [stderr] | [INFO] [stderr] 181 | let mut reader = BufferedReader::new(file.as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:232:5 [INFO] [stderr] | [INFO] [stderr] 232 | b.bytes = file.len() as u64; [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: aborting due to 18 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0107, E0412, E0496, E0599, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:233:7 [INFO] [stderr] | [INFO] [stderr] 233 | b.iter(|| -> () { [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[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:234:51 [INFO] [stderr] | [INFO] [stderr] 234 | let mut reader = BufferedReader::new(file.as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [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: aborting due to 33 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0107, E0412, E0496, E0599, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [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" "aecf7c99ca47677b06eca9a95aa68350571a9e1fe6049f51146b0ed9e3baba88"` [INFO] running `"docker" "rm" "-f" "aecf7c99ca47677b06eca9a95aa68350571a9e1fe6049f51146b0ed9e3baba88"` [INFO] [stdout] aecf7c99ca47677b06eca9a95aa68350571a9e1fe6049f51146b0ed9e3baba88