[INFO] cloning repository https://github.com/nikklassen/Splash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikklassen/Splash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikklassen%2FSplash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikklassen%2FSplash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72b6640c82f24fad0dad491cbd64fd1dbb49daf8 [INFO] checking nikklassen/Splash against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikklassen%2FSplash" "/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/nikklassen/Splash on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikklassen/Splash [INFO] finished tweaking git repo https://github.com/nikklassen/Splash [INFO] tweaked toml for git repo https://github.com/nikklassen/Splash written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nikklassen/Splash already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded byteorder v1.2.3 [INFO] [stderr] Downloaded cfg-if v0.1.3 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded cc v1.0.17 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded ascii v0.7.1 [INFO] [stderr] Downloaded combine v3.3.2 [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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf55ca678c2bf22e5bf4a1d279753540c65334ead08150bea259d1927193d34 [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" "ebf55ca678c2bf22e5bf4a1d279753540c65334ead08150bea259d1927193d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf55ca678c2bf22e5bf4a1d279753540c65334ead08150bea259d1927193d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf55ca678c2bf22e5bf4a1d279753540c65334ead08150bea259d1927193d34", kill_on_drop: false }` [INFO] [stdout] ebf55ca678c2bf22e5bf4a1d279753540c65334ead08150bea259d1927193d34 [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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dde9a60d2afc0161ab396f64ba04edf01e9a4a0b40037f1a5be2f8145bd370da [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" "dde9a60d2afc0161ab396f64ba04edf01e9a4a0b40037f1a5be2f8145bd370da", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking ascii v0.7.1 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling splash v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking combine v3.3.2 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | pub type BuiltinMap = HashMap<&'static str, Box>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/builtin.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | try!(io::stdout().flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:160:54 [INFO] [stdout] | [INFO] [stdout] 160 | Box::new(SimpleBuiltin($cmd)) as Box [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] ... [INFO] [stdout] 172 | / add_builtin_fns!( [INFO] [stdout] 173 | | builtins, [INFO] [stdout] 174 | | [ [INFO] [stdout] 175 | | ("echo", echo), [INFO] [stdout] ... | [INFO] [stdout] 183 | | ] [INFO] [stdout] 184 | | ); [INFO] [stdout] | |______- in this macro invocation [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expand.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags! { [INFO] [stdout] 20 | | pub struct ExpansionFlag: u32 { [INFO] [stdout] 21 | | const TILDE = 0b0000001; [INFO] [stdout] 22 | | const PARAMETER = 0b0000010; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expand.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags! { [INFO] [stdout] 20 | | pub struct ExpansionFlag: u32 { [INFO] [stdout] 21 | | const TILDE = 0b0000001; [INFO] [stdout] 22 | | const PARAMETER = 0b0000010; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expand.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags! { [INFO] [stdout] 20 | | pub struct ExpansionFlag: u32 { [INFO] [stdout] 21 | | const TILDE = 0b0000001; [INFO] [stdout] 22 | | const PARAMETER = 0b0000010; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let new_fd = try!(unistd::dup(fd).or(Err(format!("{}: bad file descriptor", fd)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/job.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 5 | use libc; [INFO] [stdout] | ---- the item `libc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 203 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/process.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | cmd: &mut Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_fixture.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | pub type TestList = Vec<(String, Box)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T) + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | pub type BuiltinMap = HashMap<&'static str, Box>; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/builtin.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | try!(io::stdout().flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin.rs:160:54 [INFO] [stdout] | [INFO] [stdout] 160 | Box::new(SimpleBuiltin($cmd)) as Box [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] ... [INFO] [stdout] 172 | / add_builtin_fns!( [INFO] [stdout] 173 | | builtins, [INFO] [stdout] 174 | | [ [INFO] [stdout] 175 | | ("echo", echo), [INFO] [stdout] ... | [INFO] [stdout] 183 | | ] [INFO] [stdout] 184 | | ); [INFO] [stdout] | |______- in this macro invocation [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expand.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags! { [INFO] [stdout] 20 | | pub struct ExpansionFlag: u32 { [INFO] [stdout] 21 | | const TILDE = 0b0000001; [INFO] [stdout] 22 | | const PARAMETER = 0b0000010; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expand.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags! { [INFO] [stdout] 20 | | pub struct ExpansionFlag: u32 { [INFO] [stdout] 21 | | const TILDE = 0b0000001; [INFO] [stdout] 22 | | const PARAMETER = 0b0000010; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expand.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags! { [INFO] [stdout] 20 | | pub struct ExpansionFlag: u32 { [INFO] [stdout] 21 | | const TILDE = 0b0000001; [INFO] [stdout] 22 | | const PARAMETER = 0b0000010; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let new_fd = try!(unistd::dup(fd).or(Err(format!("{}: bad file descriptor", fd)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/job.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 5 | use libc; [INFO] [stdout] | ---- the item `libc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 203 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/process.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | cmd: &mut Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/prompt.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/prompt.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | static RUNNING: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/prompt.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | static ref CURRENT_LINE: Mutex> = Mutex::new(Some(String::new())); [INFO] [stdout] 70 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/job.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / lazy_static! { [INFO] [stdout] 119 | | pub static ref JOB_TABLE: GuardedJobTable = GuardedJobTable::new(); [INFO] [stdout] 120 | | } [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 constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/signals.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{AtomicIsize, Ordering, ATOMIC_ISIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/signals.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | static LAST_SIGNAL: AtomicIsize = ATOMIC_ISIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicIsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/test_fixture.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | // The contents don't actually matter [INFO] [stdout] 6 | | static ref TEST_LOCK: Mutex = Mutex::new(0); [INFO] [stdout] 7 | | } [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 constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/prompt.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/prompt.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | static RUNNING: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/prompt.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | static ref CURRENT_LINE: Mutex> = Mutex::new(Some(String::new())); [INFO] [stdout] 70 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/job.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / lazy_static! { [INFO] [stdout] 119 | | pub static ref JOB_TABLE: GuardedJobTable = GuardedJobTable::new(); [INFO] [stdout] 120 | | } [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 constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/signals.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{AtomicIsize, Ordering, ATOMIC_ISIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/signals.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | static LAST_SIGNAL: AtomicIsize = ATOMIC_ISIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicIsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitflags::core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/eval.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | Some(s.trim_right().to_string()) [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/expand.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | output.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 `bitflags::core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/eval.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | Some(s.trim_right().to_string()) [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/expand.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | output.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: variable does not need to be mutable [INFO] [stdout] --> src/eval.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | for mut command in commands { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let mut cmd = cmds.remove(0); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | let mut match_vars = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | for mut command in commands { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let mut cmd = cmds.remove(0); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | let mut match_vars = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/input/parser.rs:621:52 [INFO] [stdout] | [INFO] [stdout] 621 | ProgramParseResult::Error(e) => panic!(format!("Unexpected parse error {}", e)), [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] 621 | ProgramParseResult::Error(e) => panic!("Unexpected parse error {}", e), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.24s [INFO] running `Command { std: "docker" "inspect" "dde9a60d2afc0161ab396f64ba04edf01e9a4a0b40037f1a5be2f8145bd370da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dde9a60d2afc0161ab396f64ba04edf01e9a4a0b40037f1a5be2f8145bd370da", kill_on_drop: false }` [INFO] [stdout] dde9a60d2afc0161ab396f64ba04edf01e9a4a0b40037f1a5be2f8145bd370da