[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#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaemk%2Frok" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaemk/rok on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-4/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a0f7bc40424aae9da748419d71783c8834cf41582de82fba5e94b348578978c [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" "6a0f7bc40424aae9da748419d71783c8834cf41582de82fba5e94b348578978c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a0f7bc40424aae9da748419d71783c8834cf41582de82fba5e94b348578978c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a0f7bc40424aae9da748419d71783c8834cf41582de82fba5e94b348578978c", kill_on_drop: false }` [INFO] [stdout] 6a0f7bc40424aae9da748419d71783c8834cf41582de82fba5e94b348578978c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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] 2febb1c5dcaa0c50db0b8d74222f613a0062d58726001f48813567eb8dcc3f31 [INFO] running `Command { std: "docker" "start" "-a" "2febb1c5dcaa0c50db0b8d74222f613a0062d58726001f48813567eb8dcc3f31", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking either v1.3.0 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking rand v0.3.17 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking itertools v0.7.2 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking num-bigint v0.1.40 [INFO] [stderr] Checking num-complex v0.1.40 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking num v0.1.40 [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 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 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 `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::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::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 36.02s [INFO] running `Command { std: "docker" "inspect" "2febb1c5dcaa0c50db0b8d74222f613a0062d58726001f48813567eb8dcc3f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2febb1c5dcaa0c50db0b8d74222f613a0062d58726001f48813567eb8dcc3f31", kill_on_drop: false }` [INFO] [stdout] 2febb1c5dcaa0c50db0b8d74222f613a0062d58726001f48813567eb8dcc3f31