[INFO] fetching crate rrun 0.2.3... [INFO] testing rrun-0.2.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate rrun 0.2.3 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate rrun 0.2.3 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 crates.io crate rrun 0.2.3 [INFO] finished tweaking crates.io crate rrun 0.2.3 [INFO] tweaked toml for crates.io crate rrun 0.2.3 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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 glib-sys v0.5.0 [INFO] [stderr] Downloaded gobject-sys v0.5.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.3.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Downloaded c_vec v1.2.1 [INFO] [stderr] Downloaded gio v0.3.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.5.0 [INFO] [stderr] Downloaded gtk-sys v0.5.0 [INFO] [stderr] Downloaded cairo-rs v0.3.0 [INFO] [stderr] Downloaded gdk-sys v0.5.0 [INFO] [stderr] Downloaded pango-sys v0.5.0 [INFO] [stderr] Downloaded gdk v0.7.0 [INFO] [stderr] Downloaded atk-sys v0.5.0 [INFO] [stderr] Downloaded pango v0.3.0 [INFO] [stderr] Downloaded gio-sys v0.5.0 [INFO] [stderr] Downloaded gtk v0.3.0 [INFO] [stderr] Downloaded glib v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08424f15542725d9e4fb0dbbe6ca463c48c647513b56735ab8a1f544c19039b4 [INFO] running `Command { std: "docker" "start" "-a" "08424f15542725d9e4fb0dbbe6ca463c48c647513b56735ab8a1f544c19039b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08424f15542725d9e4fb0dbbe6ca463c48c647513b56735ab8a1f544c19039b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08424f15542725d9e4fb0dbbe6ca463c48c647513b56735ab8a1f544c19039b4", kill_on_drop: false }` [INFO] [stdout] 08424f15542725d9e4fb0dbbe6ca463c48c647513b56735ab8a1f544c19039b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e262a51c636b3574b8ce2693e68f5af30ac175a146dfeaa8f3af8decea45d93 [INFO] running `Command { std: "docker" "start" "-a" "2e262a51c636b3574b8ce2693e68f5af30ac175a146dfeaa8f3af8decea45d93", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Compiling c_vec v1.2.1 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [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 regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling glib v0.4.1 [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: use of deprecated associated function `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/engine.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | .fold1(|c1, c2| c1.chain(c2).collect_vec().into_iter()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.46s [INFO] running `Command { std: "docker" "inspect" "2e262a51c636b3574b8ce2693e68f5af30ac175a146dfeaa8f3af8decea45d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e262a51c636b3574b8ce2693e68f5af30ac175a146dfeaa8f3af8decea45d93", kill_on_drop: false }` [INFO] [stdout] 2e262a51c636b3574b8ce2693e68f5af30ac175a146dfeaa8f3af8decea45d93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9181441a640fe81ca192e25f5bae285b9842422aa05d4a0ad15a7c914a492ccd [INFO] running `Command { std: "docker" "start" "-a" "9181441a640fe81ca192e25f5bae285b9842422aa05d4a0ad15a7c914a492ccd", 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: use of deprecated associated function `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/engine.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | .fold1(|c1, c2| c1.chain(c2).collect_vec().into_iter()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "9181441a640fe81ca192e25f5bae285b9842422aa05d4a0ad15a7c914a492ccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9181441a640fe81ca192e25f5bae285b9842422aa05d4a0ad15a7c914a492ccd", kill_on_drop: false }` [INFO] [stdout] 9181441a640fe81ca192e25f5bae285b9842422aa05d4a0ad15a7c914a492ccd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7c77955a54511d5645e01181ef7d9c1364f3d77f545731d2e9387bc871cb8de [INFO] running `Command { std: "docker" "start" "-a" "b7c77955a54511d5645e01181ef7d9c1364f3d77f545731d2e9387bc871cb8de", 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: use of deprecated associated function `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stderr] --> src/engine.rs:68:14 [INFO] [stderr] | [INFO] [stderr] 68 | .fold1(|c1, c2| c1.chain(c2).collect_vec().into_iter()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rrun` (bin "rrun" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rrun-057d8a014527f1c7) [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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b7c77955a54511d5645e01181ef7d9c1364f3d77f545731d2e9387bc871cb8de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c77955a54511d5645e01181ef7d9c1364f3d77f545731d2e9387bc871cb8de", kill_on_drop: false }` [INFO] [stdout] b7c77955a54511d5645e01181ef7d9c1364f3d77f545731d2e9387bc871cb8de