[INFO] cloning repository https://github.com/flomonster/my-git [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flomonster/my-git" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflomonster%2Fmy-git", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflomonster%2Fmy-git'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56353845985a3242986219e8fde191f016a73a79 [INFO] testing flomonster/my-git against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflomonster%2Fmy-git" "/workspace/builds/worker-65/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-65/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flomonster/my-git on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flomonster/my-git [INFO] finished tweaking git repo https://github.com/flomonster/my-git [INFO] tweaked toml for git repo https://github.com/flomonster/my-git written to /workspace/builds/worker-65/source/Cargo.toml [INFO] crate git repo https://github.com/flomonster/my-git already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d966a0f9fd4ecd1d81ba3ea71170c222a15f6e20b847f2182e8749dda1d29c9c [INFO] running `Command { std: "docker" "start" "-a" "d966a0f9fd4ecd1d81ba3ea71170c222a15f6e20b847f2182e8749dda1d29c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d966a0f9fd4ecd1d81ba3ea71170c222a15f6e20b847f2182e8749dda1d29c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d966a0f9fd4ecd1d81ba3ea71170c222a15f6e20b847f2182e8749dda1d29c9c", kill_on_drop: false }` [INFO] [stdout] d966a0f9fd4ecd1d81ba3ea71170c222a15f6e20b847f2182e8749dda1d29c9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ca799db0c2d7e28568fa96398be7dea9ed8429a6dd04192aae72d8cefe31373 [INFO] running `Command { std: "docker" "start" "-a" "0ca799db0c2d7e28568fa96398be7dea9ed8429a6dd04192aae72d8cefe31373", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling syn v1.0.4 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling rgb v0.8.13 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling miniz_oxide v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.3 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling dirs-sys v0.3.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling dirs v2.0.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling stfu8 v0.2.4 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling path_abs v0.5.0 [INFO] [stderr] Compiling my_git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/index.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | ) -> Result<(Vec), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - ) -> Result<(Vec), Box> { [INFO] [stdout] 104 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd/status.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | ) -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - ) -> Result<(), Box> { [INFO] [stdout] 52 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd/status.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - ) -> Result<(), Box> { [INFO] [stdout] 78 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/tree.rs:231:64 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 - pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stdout] 231 + pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/tree.rs:251:71 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 - pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] 251 + pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cmd/status.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(format!("fatal: type '{}' unknown", type_)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(format!("fatal: type '{}' unknown", type_)), [INFO] [stdout] 41 + _ => panic!("fatal: type '{}' unknown", type_), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/index.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "0ca799db0c2d7e28568fa96398be7dea9ed8429a6dd04192aae72d8cefe31373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca799db0c2d7e28568fa96398be7dea9ed8429a6dd04192aae72d8cefe31373", kill_on_drop: false }` [INFO] [stdout] 0ca799db0c2d7e28568fa96398be7dea9ed8429a6dd04192aae72d8cefe31373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6565e10b4bed31fd0f6ecc699e7a6e6c0426723b4518ef6b4e9db9ac159bd25b [INFO] running `Command { std: "docker" "start" "-a" "6565e10b4bed31fd0f6ecc699e7a6e6c0426723b4518ef6b4e9db9ac159bd25b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/index.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | ) -> Result<(Vec), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - ) -> Result<(Vec), Box> { [INFO] [stdout] 104 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd/status.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | ) -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - ) -> Result<(), Box> { [INFO] [stdout] 52 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling my_git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd/status.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - ) -> Result<(), Box> { [INFO] [stdout] 78 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/tree.rs:231:64 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 - pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stdout] 231 + pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/tree.rs:251:71 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 - pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] 251 + pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cmd/status.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(format!("fatal: type '{}' unknown", type_)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(format!("fatal: type '{}' unknown", type_)), [INFO] [stdout] 41 + _ => panic!("fatal: type '{}' unknown", type_), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/index.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/index.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | ) -> Result<(Vec), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - ) -> Result<(Vec), Box> { [INFO] [stdout] 104 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd/status.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | ) -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - ) -> Result<(), Box> { [INFO] [stdout] 52 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd/status.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - ) -> Result<(), Box> { [INFO] [stdout] 78 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/tree.rs:231:64 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 - pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stdout] 231 + pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/tree.rs:251:71 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 - pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] 251 + pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cmd/status.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(format!("fatal: type '{}' unknown", type_)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(format!("fatal: type '{}' unknown", type_)), [INFO] [stdout] 41 + _ => panic!("fatal: type '{}' unknown", type_), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/index.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.57s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_git-f0ea335e367e717d) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/my_git-197c7094b5347447) [INFO] running `Command { std: "docker" "inspect" "6565e10b4bed31fd0f6ecc699e7a6e6c0426723b4518ef6b4e9db9ac159bd25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6565e10b4bed31fd0f6ecc699e7a6e6c0426723b4518ef6b4e9db9ac159bd25b", kill_on_drop: false }` [INFO] [stdout] 6565e10b4bed31fd0f6ecc699e7a6e6c0426723b4518ef6b4e9db9ac159bd25b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 82fcf3dd32d0b9f9f3bec4c299e369529253a2e901e728216a21b0d62ffa5efe [INFO] running `Command { std: "docker" "start" "-a" "82fcf3dd32d0b9f9f3bec4c299e369529253a2e901e728216a21b0d62ffa5efe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stdout] running 9 tests [INFO] [stderr] --> src/index.rs:104:17 [INFO] [stdout] test objects::commit::tests::commit_dump ... ok [INFO] [stderr] | [INFO] [stdout] test objects::blob::tests::blob_dump ... ok [INFO] [stderr] 104 | ) -> Result<(Vec), Box> { [INFO] [stdout] test objects::tests::commit_hash ... ok [INFO] [stderr] | ^ ^ [INFO] [stdout] test objects::tests::blob_hash ... ok [INFO] [stderr] | [INFO] [stdout] test objects::tests::tree_hash_multiple ... ok [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] test objects::tests::tree_hash_simple ... ok [INFO] [stderr] help: remove these parentheses [INFO] [stdout] test objects::tree::tests::tree_dump ... ok [INFO] [stderr] | [INFO] [stdout] test objects::tests::tree_hash_symlink ... ok [INFO] [stderr] 104 - ) -> Result<(Vec), Box> { [INFO] [stdout] test objects::tree::tests::tree_dump_multiple ... ok [INFO] [stderr] 104 + ) -> Result, Box> { [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] [INFO] [stderr] --> src/cmd/status.rs:52:21 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 52 | ) -> Result<(), Box> { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 52 - ) -> Result<(), Box> { [INFO] [stderr] 52 + ) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmd/status.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 78 | ) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 78 - ) -> Result<(), Box> { [INFO] [stderr] 78 + ) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/objects/tree.rs:231:64 [INFO] [stderr] | [INFO] [stderr] 231 | pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 231 - pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stderr] 231 + pub fn contains(&self, path: &PathBuf) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/objects/tree.rs:251:71 [INFO] [stderr] | [INFO] [stderr] 251 | pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 251 - pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stderr] 251 + pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cmd/status.rs:41:25 [INFO] [stderr] | [INFO] [stderr] 41 | _ => panic!(format!("fatal: type '{}' unknown", type_)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 41 - _ => panic!(format!("fatal: type '{}' unknown", type_)), [INFO] [stderr] 41 + _ => panic!("fatal: type '{}' unknown", type_), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/index.rs:69:34 [INFO] [stderr] | [INFO] [stderr] 69 | Err(e) => panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 69 | Err(e) => panic!("{}", e), [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 69 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `my_git` (lib) generated 7 warnings [INFO] [stderr] warning: `my_git` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_git-f0ea335e367e717d) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/my_git-197c7094b5347447) [INFO] [stderr] Doc-tests my_git [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/index.rs:104:17 [INFO] [stderr] | [INFO] [stderr] 104 | ) -> Result<(Vec), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 104 - ) -> Result<(Vec), Box> { [INFO] [stderr] 104 + ) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "82fcf3dd32d0b9f9f3bec4c299e369529253a2e901e728216a21b0d62ffa5efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82fcf3dd32d0b9f9f3bec4c299e369529253a2e901e728216a21b0d62ffa5efe", kill_on_drop: false }` [INFO] [stdout] 82fcf3dd32d0b9f9f3bec4c299e369529253a2e901e728216a21b0d62ffa5efe