[INFO] cloning repository https://github.com/dwijnand/sbtl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dwijnand/sbtl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwijnand%2Fsbtl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwijnand%2Fsbtl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8722b89096bb4c46dd7a47beaf0297f317382a03 [INFO] testing dwijnand/sbtl against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwijnand%2Fsbtl" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwijnand/sbtl on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwijnand/sbtl [INFO] finished tweaking git repo https://github.com/dwijnand/sbtl [INFO] tweaked toml for git repo https://github.com/dwijnand/sbtl written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/dwijnand/sbtl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80454ca51578f97b010bb2a90afec9f68bb2a8ece30436efe3c7339a4e828bd5 [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" "80454ca51578f97b010bb2a90afec9f68bb2a8ece30436efe3c7339a4e828bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80454ca51578f97b010bb2a90afec9f68bb2a8ece30436efe3c7339a4e828bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80454ca51578f97b010bb2a90afec9f68bb2a8ece30436efe3c7339a4e828bd5", kill_on_drop: false }` [INFO] [stdout] 80454ca51578f97b010bb2a90afec9f68bb2a8ece30436efe3c7339a4e828bd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--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] 65c0395554db246df2b60c13f7ecbbf95a90d3e398b1d7773bb26bcd13195ba9 [INFO] running `Command { std: "docker" "start" "-a" "65c0395554db246df2b60c13f7ecbbf95a90d3e398b1d7773bb26bcd13195ba9", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.6 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde v1.0.29 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.1 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling shared_child v0.3.2 [INFO] [stderr] Compiling socket2 v0.3.3 [INFO] [stderr] Compiling libz-sys v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.27 [INFO] [stderr] Compiling curl-sys v0.4.1 [INFO] [stderr] Compiling serde_derive_internals v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.29 [INFO] [stderr] Compiling os_pipe v0.6.0 [INFO] [stderr] Compiling duct v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.11 [INFO] [stderr] Compiling jsonrpc-lite v0.5.0 [INFO] [stderr] Compiling curl v0.4.11 [INFO] [stderr] Compiling sbtl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `curl` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use curl; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_lite` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonrpc_lite; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `void` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use void; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | if split.len() != 2 { panic!(format!("malformed header: {}", s)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 82 | if split.len() != 2 { panic!("malformed header: {}", s) } [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | _ => panic!(format!("Unknown header: {}", s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 86 | _ => panic!("Unknown header: {}", s), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 41s [INFO] running `Command { std: "docker" "inspect" "65c0395554db246df2b60c13f7ecbbf95a90d3e398b1d7773bb26bcd13195ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c0395554db246df2b60c13f7ecbbf95a90d3e398b1d7773bb26bcd13195ba9", kill_on_drop: false }` [INFO] [stdout] 65c0395554db246df2b60c13f7ecbbf95a90d3e398b1d7773bb26bcd13195ba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--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] a2e8e43dbd1e630c4bcee63f5959a55d152515d2c8fa9e5666c5a655745f022c [INFO] running `Command { std: "docker" "start" "-a" "a2e8e43dbd1e630c4bcee63f5959a55d152515d2c8fa9e5666c5a655745f022c", kill_on_drop: false }` [INFO] [stderr] Compiling sbtl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `curl` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use curl; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_lite` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonrpc_lite; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `void` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use void; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/launcher.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref HOME: PathBuf = { [INFO] [stdout] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stdout] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | if split.len() != 2 { panic!(format!("malformed header: {}", s)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 82 | if split.len() != 2 { panic!("malformed header: {}", s) } [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | _ => panic!(format!("Unknown header: {}", s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 86 | _ => panic!("Unknown header: {}", s), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "a2e8e43dbd1e630c4bcee63f5959a55d152515d2c8fa9e5666c5a655745f022c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e8e43dbd1e630c4bcee63f5959a55d152515d2c8fa9e5666c5a655745f022c", kill_on_drop: false }` [INFO] [stdout] a2e8e43dbd1e630c4bcee63f5959a55d152515d2c8fa9e5666c5a655745f022c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b84f808dd46071faa82a79199df6a94b22c4688a883644d1bebe0b32ec8faff8 [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" "b84f808dd46071faa82a79199df6a94b22c4688a883644d1bebe0b32ec8faff8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `curl` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use curl; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonrpc_lite` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpc_lite; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `void` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use void; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/launcher.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref HOME: PathBuf = { [INFO] [stderr] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stderr] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stderr] ... | [INFO] [stderr] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/launcher.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref HOME: PathBuf = { [INFO] [stderr] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stderr] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stderr] ... | [INFO] [stderr] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/launcher.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref HOME: PathBuf = { [INFO] [stderr] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stderr] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stderr] ... | [INFO] [stderr] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/launcher.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref HOME: PathBuf = { [INFO] [stderr] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stderr] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stderr] ... | [INFO] [stderr] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/launcher.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / lazy_static! { [INFO] [stderr] 26 | | static ref HOME: PathBuf = { [INFO] [stderr] 27 | | #[allow(deprecated)] // TODO: Switch to the dirs crate. [INFO] [stderr] 28 | | env::home_dir().expect("failed to get the path of the current user's home directory") [INFO] [stderr] ... | [INFO] [stderr] 38 | | static ref sbt_launch_dir: PathBuf = PathBuf::from(&*HOME).join(".sbt/launchers"); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/client.rs:82:34 [INFO] [stderr] | [INFO] [stderr] 82 | if split.len() != 2 { panic!(format!("malformed header: {}", s)) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 82 | if split.len() != 2 { panic!("malformed header: {}", s) } [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/client.rs:86:21 [INFO] [stderr] | [INFO] [stderr] 86 | _ => panic!(format!("Unknown header: {}", s)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 86 | _ => panic!("Unknown header: {}", s), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sbtl-e5d68ffd80af4c1d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test client::tests::decode_ok ... ok [INFO] [stdout] test client::tests::decode_ko ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b84f808dd46071faa82a79199df6a94b22c4688a883644d1bebe0b32ec8faff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b84f808dd46071faa82a79199df6a94b22c4688a883644d1bebe0b32ec8faff8", kill_on_drop: false }` [INFO] [stdout] b84f808dd46071faa82a79199df6a94b22c4688a883644d1bebe0b32ec8faff8