[INFO] cloning repository https://github.com/nstott/rstatsd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nstott/rstatsd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstott%2Frstatsd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstott%2Frstatsd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee5233b83ea44cfdc6a9f596e15bf6945836bee8 [INFO] checking nstott/rstatsd against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstott%2Frstatsd" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nstott/rstatsd on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nstott/rstatsd [INFO] finished tweaking git repo https://github.com/nstott/rstatsd [INFO] tweaked toml for git repo https://github.com/nstott/rstatsd written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/nstott/rstatsd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cba4de6df7d28198458b2c7cf56f6126033fdb5621a63c631ad7c42b9fc90b9 [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" "1cba4de6df7d28198458b2c7cf56f6126033fdb5621a63c631ad7c42b9fc90b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cba4de6df7d28198458b2c7cf56f6126033fdb5621a63c631ad7c42b9fc90b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cba4de6df7d28198458b2c7cf56f6126033fdb5621a63c631ad7c42b9fc90b9", kill_on_drop: false }` [INFO] [stdout] 1cba4de6df7d28198458b2c7cf56f6126033fdb5621a63c631ad7c42b9fc90b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13c529fad5a9969a87839a25b148786b19d653b7a7a2616554567cbf9fff11e8 [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" "13c529fad5a9969a87839a25b148786b19d653b7a7a2616554567cbf9fff11e8", kill_on_drop: false }` [INFO] [stderr] Checking rstatsd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `log::LogRecord`, `log::LogLevel`, `log::LogMetadata`, `log::LogLevelFilter` [INFO] [stdout] --> src/simplelogger/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{LogRecord, LogLevel, LogMetadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `LogLevelFilter` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `LogMetadata` in the root [INFO] [stdout] | | no `LogLevel` in the root [INFO] [stdout] | no `LogRecord` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 | use log::{Record, LogLevel, LogMetadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 | use log::{LogRecord, LogLevel, Metadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 | use log::{LogRecord, LogLevel, LogMetadata, LevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/metric_store.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | select!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(mpsc_select, drain)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metric.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let bits = try!(split_by(&line, '|')); [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/metric.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut m = try!(Metric::parse(bits[0].to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metric.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let bits = try!(split_by(&line, ':')); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metric.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let value = try!(bits[1].trim().parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Kind` [INFO] [stdout] --> src/metric_store.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use metric::{Metric, Kind}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/metric_store.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread::{spawn, sleep_ms}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/metric_store.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | sleep_ms(ms); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `flush` [INFO] [stdout] --> src/simplelogger/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | impl log::Log for SimpleLogger { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `flush` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn flush(&self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `log::LogRecord`, `log::LogLevel`, `log::LogMetadata`, `log::LogLevelFilter` [INFO] [stdout] --> src/simplelogger/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{LogRecord, LogLevel, LogMetadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `LogLevelFilter` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `LogMetadata` in the root [INFO] [stdout] | | no `LogLevel` in the root [INFO] [stdout] | no `LogRecord` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 | use log::{Record, LogLevel, LogMetadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 | use log::{LogRecord, LogLevel, Metadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 | use log::{LogRecord, LogLevel, LogMetadata, LevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/metric_store.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | select!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(mpsc_select, drain)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metric.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let bits = try!(split_by(&line, '|')); [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/metric.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut m = try!(Metric::parse(bits[0].to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metric.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let bits = try!(split_by(&line, ':')); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metric.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let value = try!(bits[1].trim().parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Kind` [INFO] [stdout] --> src/metric_store.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use metric::{Metric, Kind}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/metric_store.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread::{spawn, sleep_ms}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/metric_store.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | sleep_ms(ms); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `flush` [INFO] [stdout] --> src/simplelogger/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | impl log::Log for SimpleLogger { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `flush` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn flush(&self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/simplelogger/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | max_log_level.set(LogLevelFilter::Info); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/metric.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | let bits: Vec<&str> = line.trim_right().split(c).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0282, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rstatsd` [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/simplelogger/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | max_log_level.set(LogLevelFilter::Info); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [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] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/metric.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | let bits: Vec<&str> = line.trim_right().split(c).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0282, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "13c529fad5a9969a87839a25b148786b19d653b7a7a2616554567cbf9fff11e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c529fad5a9969a87839a25b148786b19d653b7a7a2616554567cbf9fff11e8", kill_on_drop: false }` [INFO] [stdout] 13c529fad5a9969a87839a25b148786b19d653b7a7a2616554567cbf9fff11e8