[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 beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwijnand%2Fsbtl" "/workspace/builds/worker-95/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-95/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwijnand/sbtl on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-95/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socket2 v0.3.3 [INFO] [stderr] Downloaded curl v0.4.11 [INFO] [stderr] Downloaded jsonrpc-lite v0.5.0 [INFO] [stderr] Downloaded duct v0.10.0 [INFO] [stderr] Downloaded shared_child v0.3.2 [INFO] [stderr] Downloaded os_pipe v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edd0b5d38536f75fa2719494ef9eb8bd2728f49c456700731f79dc0566645833 [INFO] running `Command { std: "docker" "start" "-a" "edd0b5d38536f75fa2719494ef9eb8bd2728f49c456700731f79dc0566645833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edd0b5d38536f75fa2719494ef9eb8bd2728f49c456700731f79dc0566645833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd0b5d38536f75fa2719494ef9eb8bd2728f49c456700731f79dc0566645833", kill_on_drop: false }` [INFO] [stdout] edd0b5d38536f75fa2719494ef9eb8bd2728f49c456700731f79dc0566645833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe495146ccc2df0fa12bf8d8d3d2a6e5b37d6fc88185b381090f3476a26c22d8 [INFO] running `Command { std: "docker" "start" "-a" "fe495146ccc2df0fa12bf8d8d3d2a6e5b37d6fc88185b381090f3476a26c22d8", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling cc v1.0.6 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling bitflags v0.9.1 [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 lazycell v0.6.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling socket2 v0.3.3 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling shared_child v0.3.2 [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 os_pipe v0.6.0 [INFO] [stderr] Compiling duct v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.11 [INFO] [stderr] Compiling serde_derive v1.0.29 [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("malformed header: {}", s)) } [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unknown header: {}", s)), [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 1m 11s [INFO] running `Command { std: "docker" "inspect" "fe495146ccc2df0fa12bf8d8d3d2a6e5b37d6fc88185b381090f3476a26c22d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe495146ccc2df0fa12bf8d8d3d2a6e5b37d6fc88185b381090f3476a26c22d8", kill_on_drop: false }` [INFO] [stdout] fe495146ccc2df0fa12bf8d8d3d2a6e5b37d6fc88185b381090f3476a26c22d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3fa924babdcc748e83f20efce51a807d52df51aee3f5d029116b1a1c93bd62e [INFO] running `Command { std: "docker" "start" "-a" "d3fa924babdcc748e83f20efce51a807d52df51aee3f5d029116b1a1c93bd62e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("malformed header: {}", s)) } [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Unknown header: {}", s)), [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 24.71s [INFO] running `Command { std: "docker" "inspect" "d3fa924babdcc748e83f20efce51a807d52df51aee3f5d029116b1a1c93bd62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3fa924babdcc748e83f20efce51a807d52df51aee3f5d029116b1a1c93bd62e", kill_on_drop: false }` [INFO] [stdout] d3fa924babdcc748e83f20efce51a807d52df51aee3f5d029116b1a1c93bd62e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d858f4eac71fa410f3386cb9a609ec1fe479c1ea8ea12dd230da123955bee40 [INFO] running `Command { std: "docker" "start" "-a" "2d858f4eac71fa410f3386cb9a609ec1fe479c1ea8ea12dd230da123955bee40", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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!(format!("malformed header: {}", s)) } [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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!(format!("Unknown header: {}", s)), [INFO] [stderr] 86 + _ => panic!("Unknown header: {}", s), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sbtl` (bin "sbtl" test) generated 10 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sbtl-ac0329f0c1040763) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test client::tests::decode_ok ... ok [INFO] [stdout] test client::tests::decode_ko - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2d858f4eac71fa410f3386cb9a609ec1fe479c1ea8ea12dd230da123955bee40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d858f4eac71fa410f3386cb9a609ec1fe479c1ea8ea12dd230da123955bee40", kill_on_drop: false }` [INFO] [stdout] 2d858f4eac71fa410f3386cb9a609ec1fe479c1ea8ea12dd230da123955bee40