[INFO] cloning repository https://github.com/jaemk/rok [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaemk/rok" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaemk%2Frok", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaemk%2Frok'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01e5e25ded1ecad283c329d12686c039eaf2f06b [INFO] checking jaemk/rok against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaemk%2Frok" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaemk/rok 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/jaemk/rok [INFO] finished tweaking git repo https://github.com/jaemk/rok [INFO] tweaked toml for git repo https://github.com/jaemk/rok written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/jaemk/rok 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 0117a2c1f0b64bc8a226cc1472e02eedfa99af232a5a81cbd86da65077381a5c [INFO] running `Command { std: "docker" "start" "-a" "0117a2c1f0b64bc8a226cc1472e02eedfa99af232a5a81cbd86da65077381a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0117a2c1f0b64bc8a226cc1472e02eedfa99af232a5a81cbd86da65077381a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0117a2c1f0b64bc8a226cc1472e02eedfa99af232a5a81cbd86da65077381a5c", kill_on_drop: false }` [INFO] [stdout] 0117a2c1f0b64bc8a226cc1472e02eedfa99af232a5a81cbd86da65077381a5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] [stdout] ccacb3572b6b524b543a1bcbac7601d70be324cdfb9d2a7f36c5f5f724448fab [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" "ccacb3572b6b524b543a1bcbac7601d70be324cdfb9d2a7f36c5f5f724448fab", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking either v1.3.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking num-complex v0.1.40 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking num-bigint v0.1.40 [INFO] [stderr] Checking itertools v0.7.2 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking backtrace v0.3.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking rok v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/lib.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let path = env::home_dir().unwrap_or_else(|| path::PathBuf::from(".")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/lib.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let path = env::home_dir().unwrap_or_else(|| path::PathBuf::from(".")); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Io(io::Error); [INFO] [stdout] 8 | | ReadLine(rustyline::error::ReadlineError); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Io(io::Error); [INFO] [stdout] 8 | | ReadLine(rustyline::error::ReadlineError); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/token.rs:307:43 [INFO] [stdout] | [INFO] [stdout] 307 | (Comment, comment.trim_right_matches("\n").to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/token.rs:317:29 [INFO] [stdout] | [INFO] [stdout] 317 | (Str, s.trim_right_matches("\"").to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/token.rs:322:29 [INFO] [stdout] | [INFO] [stdout] 322 | (Str, s.trim_right_matches("\'").to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/token.rs:307:43 [INFO] [stdout] | [INFO] [stdout] 307 | (Comment, comment.trim_right_matches("\n").to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/token.rs:317:29 [INFO] [stdout] | [INFO] [stdout] 317 | (Str, s.trim_right_matches("\"").to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/token.rs:322:29 [INFO] [stdout] | [INFO] [stdout] 322 | (Str, s.trim_right_matches("\'").to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Io(io::Error); [INFO] [stdout] 8 | | ReadLine(rustyline::error::ReadlineError); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn eval(tokens: &[Token]) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | foreign_links { [INFO] [stdout] 7 | | Io(io::Error); [INFO] [stdout] 8 | | ReadLine(rustyline::error::ReadlineError); [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn eval(tokens: &[Token]) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / error_chain! { [INFO] [stdout] 12 | | foreign_links { [INFO] [stdout] 13 | | Io(io::Error); [INFO] [stdout] 14 | | Rok(rok::errors::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | errors {} [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / error_chain! { [INFO] [stdout] 12 | | foreign_links { [INFO] [stdout] 13 | | Io(io::Error); [INFO] [stdout] 14 | | Rok(rok::errors::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | errors {} [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / error_chain! { [INFO] [stdout] 12 | | foreign_links { [INFO] [stdout] 13 | | Io(io::Error); [INFO] [stdout] 14 | | Rok(rok::errors::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | errors {} [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / error_chain! { [INFO] [stdout] 12 | | foreign_links { [INFO] [stdout] 13 | | Io(io::Error); [INFO] [stdout] 14 | | Rok(rok::errors::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | errors {} [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / error_chain! { [INFO] [stdout] 12 | | foreign_links { [INFO] [stdout] 13 | | Io(io::Error); [INFO] [stdout] 14 | | Rok(rok::errors::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | errors {} [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / error_chain! { [INFO] [stdout] 12 | | foreign_links { [INFO] [stdout] 13 | | Io(io::Error); [INFO] [stdout] 14 | | Rok(rok::errors::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | errors {} [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.11s [INFO] running `Command { std: "docker" "inspect" "ccacb3572b6b524b543a1bcbac7601d70be324cdfb9d2a7f36c5f5f724448fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccacb3572b6b524b543a1bcbac7601d70be324cdfb9d2a7f36c5f5f724448fab", kill_on_drop: false }` [INFO] [stdout] ccacb3572b6b524b543a1bcbac7601d70be324cdfb9d2a7f36c5f5f724448fab