[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] testing emk/rust-slow-iteration-demo against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Frust-slow-iteration-demo" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emk/rust-slow-iteration-demo on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-8/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-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ee3c71dfde3818a327af8a2924617933fb0aab5d8f80dd04f4514e913f2fef50 [INFO] running `"docker" "start" "-a" "ee3c71dfde3818a327af8a2924617933fb0aab5d8f80dd04f4514e913f2fef50"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling 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[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[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] warning: 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: `#[warn(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] warning: 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] warning: 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[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] [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 `&&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: aborting due to 16 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0107, E0412, E0496, E0554, 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" "ee3c71dfde3818a327af8a2924617933fb0aab5d8f80dd04f4514e913f2fef50"` [INFO] running `"docker" "rm" "-f" "ee3c71dfde3818a327af8a2924617933fb0aab5d8f80dd04f4514e913f2fef50"` [INFO] [stdout] ee3c71dfde3818a327af8a2924617933fb0aab5d8f80dd04f4514e913f2fef50