[INFO] cloning repository https://github.com/buster/rrun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/buster/rrun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuster%2Frrun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuster%2Frrun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e281eed6eb3d7492261b48405a29fdcdfa067fb0 [INFO] testing buster/rrun against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuster%2Frrun" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/buster/rrun on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/buster/rrun [INFO] finished tweaking git repo https://github.com/buster/rrun [INFO] tweaked toml for git repo https://github.com/buster/rrun written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/buster/rrun already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gtk-sys v0.5.0 [INFO] [stderr] Downloaded env_logger v0.5.3 [INFO] [stderr] Downloaded termcolor v0.3.4 [INFO] [stderr] Downloaded gdk-pixbuf v0.3.0 [INFO] [stderr] Downloaded glib-sys v0.5.0 [INFO] [stderr] Downloaded gobject-sys v0.5.0 [INFO] [stderr] Downloaded cairo-rs v0.3.0 [INFO] [stderr] Downloaded gtk v0.3.0 [INFO] [stderr] Downloaded atk-sys v0.5.0 [INFO] [stderr] Downloaded pango v0.3.0 [INFO] [stderr] Downloaded glib v0.4.1 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Downloaded pango-sys v0.5.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.5.0 [INFO] [stderr] Downloaded gio-sys v0.5.0 [INFO] [stderr] Downloaded gdk-sys v0.5.0 [INFO] [stderr] Downloaded gio v0.3.0 [INFO] [stderr] Downloaded itertools v0.7.6 [INFO] [stderr] Downloaded gdk v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 31c4bf5a0a8231df9d2cb94002b30bd592a75fe3b657e78bf28460369333f55c [INFO] running `Command { std: "docker" "start" "-a" "31c4bf5a0a8231df9d2cb94002b30bd592a75fe3b657e78bf28460369333f55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31c4bf5a0a8231df9d2cb94002b30bd592a75fe3b657e78bf28460369333f55c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c4bf5a0a8231df9d2cb94002b30bd592a75fe3b657e78bf28460369333f55c", kill_on_drop: false }` [INFO] [stdout] 31c4bf5a0a8231df9d2cb94002b30bd592a75fe3b657e78bf28460369333f55c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afb64d1ca3540cb18b36e522fff643ebab6b2bfeb0077b0adae5e0e6117c9b1a [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" "afb64d1ca3540cb18b36e522fff643ebab6b2bfeb0077b0adae5e0e6117c9b1a", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Compiling c_vec v1.2.1 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling termcolor v0.3.4 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling itertools v0.7.6 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling glib-sys v0.5.0 [INFO] [stderr] Compiling gobject-sys v0.5.0 [INFO] [stderr] Compiling gio-sys v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Compiling cairo-sys-rs v0.5.0 [INFO] [stderr] Compiling pango-sys v0.5.0 [INFO] [stderr] Compiling gdk-sys v0.5.0 [INFO] [stderr] Compiling atk-sys v0.5.0 [INFO] [stderr] Compiling gtk-sys v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling regex v0.2.6 [INFO] [stderr] Compiling glib v0.4.1 [INFO] [stderr] Compiling env_logger v0.5.3 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling pango v0.3.0 [INFO] [stderr] Compiling rrun v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/externalautocompleter.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | .fold(self.command.replace("{}", sub_query), (|a, (i, e)| a.replace(&format!("{{{}}}", i), e.as_str()))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - .fold(self.command.replace("{}", sub_query), (|a, (i, e)| a.replace(&format!("{{{}}}", i), e.as_str()))); [INFO] [stdout] 43 + .fold(self.command.replace("{}", sub_query), |a, (i, e)| a.replace(&format!("{{{}}}", i), e.as_str())); [INFO] [stdout] | [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/main.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | let config_directory = match env::home_dir() { [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/main.rs:74:71 [INFO] [stdout] | [INFO] [stdout] 74 | info!("couldn't open {}: {}", file_path.display(), Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [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:89:94 [INFO] [stdout] | [INFO] [stdout] 89 | Err(why) => panic!("couldn't read Configfile ~/.config/rrun/config.toml: {}", Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [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:101:72 [INFO] [stdout] | [INFO] [stdout] 101 | Err(why) => panic!("couldn't read file {:?}: {}", file, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub completers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - pub completers: Vec>, [INFO] [stdout] 16 + pub completers: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_completions(&self, query: &str) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn get_completions(&self, query: &str) -> Box>; [INFO] [stdout] 11 + fn get_completions(&self, query: &str) -> Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_completers(config: &toml::value::Table) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn get_completers(config: &toml::value::Table) -> Vec> { [INFO] [stdout] 27 + pub fn get_completers(config: &toml::value::Table) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_completions(&self, query: &str) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn get_completions(&self, query: &str) -> Box> { [INFO] [stdout] 64 + fn get_completions(&self, query: &str) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/autocomplete.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn complete(&self, cmd_string: &str) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 - fn complete(&self, cmd_string: &str) -> Box>; [INFO] [stdout] 3 + fn complete(&self, cmd_string: &str) -> Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/externalautocompleter.rs:15:70 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(tpe: String, command: String, trigger: String) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - pub fn new(tpe: String, command: String, trigger: String) -> Box { [INFO] [stdout] 15 + pub fn new(tpe: String, command: String, trigger: String) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/externalautocompleter.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn complete(&self, query: &str) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn complete(&self, query: &str) -> Box> { [INFO] [stdout] 26 + fn complete(&self, query: &str) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | let mut completes: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - let mut completes: Vec> = Vec::new(); [INFO] [stdout] 29 + let mut completes: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "afb64d1ca3540cb18b36e522fff643ebab6b2bfeb0077b0adae5e0e6117c9b1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb64d1ca3540cb18b36e522fff643ebab6b2bfeb0077b0adae5e0e6117c9b1a", kill_on_drop: false }` [INFO] [stdout] afb64d1ca3540cb18b36e522fff643ebab6b2bfeb0077b0adae5e0e6117c9b1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] ff52af8924a8dd290a9f2dd1d463c0018dc3855c0c35c996a7f35136f00dc016 [INFO] running `Command { std: "docker" "start" "-a" "ff52af8924a8dd290a9f2dd1d463c0018dc3855c0c35c996a7f35136f00dc016", kill_on_drop: false }` [INFO] [stderr] Compiling rrun v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/externalautocompleter.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | .fold(self.command.replace("{}", sub_query), (|a, (i, e)| a.replace(&format!("{{{}}}", i), e.as_str()))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - .fold(self.command.replace("{}", sub_query), (|a, (i, e)| a.replace(&format!("{{{}}}", i), e.as_str()))); [INFO] [stdout] 43 + .fold(self.command.replace("{}", sub_query), |a, (i, e)| a.replace(&format!("{{{}}}", i), e.as_str())); [INFO] [stdout] | [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/main.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | let config_directory = match env::home_dir() { [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/main.rs:74:71 [INFO] [stdout] | [INFO] [stdout] 74 | info!("couldn't open {}: {}", file_path.display(), Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [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:89:94 [INFO] [stdout] | [INFO] [stdout] 89 | Err(why) => panic!("couldn't read Configfile ~/.config/rrun/config.toml: {}", Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [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:101:72 [INFO] [stdout] | [INFO] [stdout] 101 | Err(why) => panic!("couldn't read file {:?}: {}", file, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub completers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - pub completers: Vec>, [INFO] [stdout] 16 + pub completers: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_completions(&self, query: &str) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn get_completions(&self, query: &str) -> Box>; [INFO] [stdout] 11 + fn get_completions(&self, query: &str) -> Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_completers(config: &toml::value::Table) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn get_completers(config: &toml::value::Table) -> Vec> { [INFO] [stdout] 27 + pub fn get_completers(config: &toml::value::Table) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_completions(&self, query: &str) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn get_completions(&self, query: &str) -> Box> { [INFO] [stdout] 64 + fn get_completions(&self, query: &str) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/autocomplete.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn complete(&self, cmd_string: &str) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 - fn complete(&self, cmd_string: &str) -> Box>; [INFO] [stdout] 3 + fn complete(&self, cmd_string: &str) -> Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/externalautocompleter.rs:15:70 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(tpe: String, command: String, trigger: String) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - pub fn new(tpe: String, command: String, trigger: String) -> Box { [INFO] [stdout] 15 + pub fn new(tpe: String, command: String, trigger: String) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/externalautocompleter.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn complete(&self, query: &str) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn complete(&self, query: &str) -> Box> { [INFO] [stdout] 26 + fn complete(&self, query: &str) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | let mut completes: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - let mut completes: Vec> = Vec::new(); [INFO] [stdout] 29 + let mut completes: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "ff52af8924a8dd290a9f2dd1d463c0018dc3855c0c35c996a7f35136f00dc016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff52af8924a8dd290a9f2dd1d463c0018dc3855c0c35c996a7f35136f00dc016", kill_on_drop: false }` [INFO] [stdout] ff52af8924a8dd290a9f2dd1d463c0018dc3855c0c35c996a7f35136f00dc016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", 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] f377060c271c399bde782ed266a3da1924c0c7e92b51ac4c8e5206da6dbf8727 [INFO] running `Command { std: "docker" "start" "-a" "f377060c271c399bde782ed266a3da1924c0c7e92b51ac4c8e5206da6dbf8727", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/externalautocompleter.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | .fold(self.command.replace("{}", sub_query), (|a, (i, e)| a.replace(&format!("{{{}}}", i), e.as_str()))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 43 - .fold(self.command.replace("{}", sub_query), (|a, (i, e)| a.replace(&format!("{{{}}}", i), e.as_str()))); [INFO] [stderr] 43 + .fold(self.command.replace("{}", sub_query), |a, (i, e)| a.replace(&format!("{{{}}}", i), e.as_str())); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/main.rs:61:39 [INFO] [stderr] | [INFO] [stderr] 61 | let config_directory = match env::home_dir() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:74:71 [INFO] [stderr] | [INFO] [stderr] 74 | info!("couldn't open {}: {}", file_path.display(), Error::description(&why)); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:89:94 [INFO] [stderr] | [INFO] [stderr] 89 | Err(why) => panic!("couldn't read Configfile ~/.config/rrun/config.toml: {}", Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:101:72 [INFO] [stderr] | [INFO] [stderr] 101 | Err(why) => panic!("couldn't read file {:?}: {}", file, Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine.rs:16:29 [INFO] [stderr] | [INFO] [stderr] 16 | pub completers: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 - pub completers: Vec>, [INFO] [stderr] 16 + pub completers: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine.rs:11:51 [INFO] [stderr] | [INFO] [stderr] 11 | fn get_completions(&self, query: &str) -> Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - fn get_completions(&self, query: &str) -> Box>; [INFO] [stderr] 11 + fn get_completions(&self, query: &str) -> Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine.rs:27:67 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn get_completers(config: &toml::value::Table) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - pub fn get_completers(config: &toml::value::Table) -> Vec> { [INFO] [stderr] 27 + pub fn get_completers(config: &toml::value::Table) -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine.rs:64:51 [INFO] [stderr] | [INFO] [stderr] 64 | fn get_completions(&self, query: &str) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 - fn get_completions(&self, query: &str) -> Box> { [INFO] [stderr] 64 + fn get_completions(&self, query: &str) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/autocomplete.rs:3:49 [INFO] [stderr] | [INFO] [stderr] 3 | fn complete(&self, cmd_string: &str) -> Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 3 - fn complete(&self, cmd_string: &str) -> Box>; [INFO] [stderr] 3 + fn complete(&self, cmd_string: &str) -> Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/externalautocompleter.rs:15:70 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(tpe: String, command: String, trigger: String) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 - pub fn new(tpe: String, command: String, trigger: String) -> Box { [INFO] [stderr] 15 + pub fn new(tpe: String, command: String, trigger: String) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/externalautocompleter.rs:26:44 [INFO] [stderr] | [INFO] [stderr] 26 | fn complete(&self, query: &str) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - fn complete(&self, query: &str) -> Box> { [INFO] [stderr] 26 + fn complete(&self, query: &str) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine.rs:29:36 [INFO] [stderr] | [INFO] [stderr] 29 | let mut completes: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - let mut completes: Vec> = Vec::new(); [INFO] [stderr] 29 + let mut completes: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rrun` (bin "rrun" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rrun-3cd0b6d3767010b5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test externalautocompleter::test_external_completion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f377060c271c399bde782ed266a3da1924c0c7e92b51ac4c8e5206da6dbf8727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f377060c271c399bde782ed266a3da1924c0c7e92b51ac4c8e5206da6dbf8727", kill_on_drop: false }` [INFO] [stdout] f377060c271c399bde782ed266a3da1924c0c7e92b51ac4c8e5206da6dbf8727