[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec5607033c50e9e5b00236af5822db2cc244a4ee83e24117ca13e7cc720edc95 [INFO] running `Command { std: "docker" "start" "-a" "ec5607033c50e9e5b00236af5822db2cc244a4ee83e24117ca13e7cc720edc95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec5607033c50e9e5b00236af5822db2cc244a4ee83e24117ca13e7cc720edc95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec5607033c50e9e5b00236af5822db2cc244a4ee83e24117ca13e7cc720edc95", kill_on_drop: false }` [INFO] [stdout] ec5607033c50e9e5b00236af5822db2cc244a4ee83e24117ca13e7cc720edc95 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5dec9a514362f1ab4e9477396c1382068a827a3ea063aeaa3051d4b42aa617ba [INFO] running `Command { std: "docker" "start" "-a" "5dec9a514362f1ab4e9477396c1382068a827a3ea063aeaa3051d4b42aa617ba", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking log v0.4.11 [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[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] 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] 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] 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] 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[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:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | log::set_logger(|max_log_level| { [INFO] [stdout] | ^^^^^^^^^^^^^ consider giving this closure parameter a 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[E0282]: type annotations needed [INFO] [stdout] --> src/simplelogger/mod.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | log::set_logger(|max_log_level| { [INFO] [stdout] | ^^^^^^^^^^^^^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [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] [stderr] error: could not compile `rstatsd` [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] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0282, E0432. [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" "5dec9a514362f1ab4e9477396c1382068a827a3ea063aeaa3051d4b42aa617ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dec9a514362f1ab4e9477396c1382068a827a3ea063aeaa3051d4b42aa617ba", kill_on_drop: false }` [INFO] [stdout] 5dec9a514362f1ab4e9477396c1382068a827a3ea063aeaa3051d4b42aa617ba