[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstott%2Frstatsd" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nstott/rstatsd on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eea540605f8bca2676745c379056b525ec62ca428293a56626557cad7c611ff [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" "0eea540605f8bca2676745c379056b525ec62ca428293a56626557cad7c611ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eea540605f8bca2676745c379056b525ec62ca428293a56626557cad7c611ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eea540605f8bca2676745c379056b525ec62ca428293a56626557cad7c611ff", kill_on_drop: false }` [INFO] [stdout] 0eea540605f8bca2676745c379056b525ec62ca428293a56626557cad7c611ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 248ea547c04608fc1bfc1219e30861474fb5b39312f242afdd35c5d62cf4e6b8 [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" "248ea547c04608fc1bfc1219e30861474fb5b39312f242afdd35c5d62cf4e6b8", kill_on_drop: false }` [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: 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[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] 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] 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: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 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: 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[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 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" "248ea547c04608fc1bfc1219e30861474fb5b39312f242afdd35c5d62cf4e6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248ea547c04608fc1bfc1219e30861474fb5b39312f242afdd35c5d62cf4e6b8", kill_on_drop: false }` [INFO] [stdout] 248ea547c04608fc1bfc1219e30861474fb5b39312f242afdd35c5d62cf4e6b8