[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 1.60.0 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 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/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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded std_prelude v0.2.12 [INFO] [stderr] Downloaded dirs v2.0.1 [INFO] [stderr] Downloaded stfu8 v0.2.4 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.3 [INFO] [stderr] Downloaded dirs-sys v0.3.3 [INFO] [stderr] Downloaded miniz_oxide v0.3.1 [INFO] [stderr] Downloaded path_abs v0.5.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2b722b42801dd089e4e213f158ada3614a1c50b0e0f6cb4c5fffae77958ddb7 [INFO] running `Command { std: "docker" "start" "-a" "d2b722b42801dd089e4e213f158ada3614a1c50b0e0f6cb4c5fffae77958ddb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2b722b42801dd089e4e213f158ada3614a1c50b0e0f6cb4c5fffae77958ddb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b722b42801dd089e4e213f158ada3614a1c50b0e0f6cb4c5fffae77958ddb7", kill_on_drop: false }` [INFO] [stdout] d2b722b42801dd089e4e213f158ada3614a1c50b0e0f6cb4c5fffae77958ddb7 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 515e2c3c2671da5c7398a649ac0b9173ac75ded4f7ac2b3c262c2beb08872a2e [INFO] running `Command { std: "docker" "start" "-a" "515e2c3c2671da5c7398a649ac0b9173ac75ded4f7ac2b3c262c2beb08872a2e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling syn v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling rgb v0.8.13 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [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 aho-corasick v0.7.6 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [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 clap v2.33.0 [INFO] [stderr] Compiling dirs v2.0.1 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling stfu8 v0.2.4 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling colored v1.8.0 [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 02s [INFO] running `Command { std: "docker" "inspect" "515e2c3c2671da5c7398a649ac0b9173ac75ded4f7ac2b3c262c2beb08872a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "515e2c3c2671da5c7398a649ac0b9173ac75ded4f7ac2b3c262c2beb08872a2e", kill_on_drop: false }` [INFO] [stdout] 515e2c3c2671da5c7398a649ac0b9173ac75ded4f7ac2b3c262c2beb08872a2e [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71d8ca5fb5d4e34893fc0c940ffbf3ce5db02c51137ea0ce7320fbc6973a1f2c [INFO] running `Command { std: "docker" "start" "-a" "71d8ca5fb5d4e34893fc0c940ffbf3ce5db02c51137ea0ce7320fbc6973a1f2c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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 6.47s [INFO] running `Command { std: "docker" "inspect" "71d8ca5fb5d4e34893fc0c940ffbf3ce5db02c51137ea0ce7320fbc6973a1f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71d8ca5fb5d4e34893fc0c940ffbf3ce5db02c51137ea0ce7320fbc6973a1f2c", kill_on_drop: false }` [INFO] [stdout] 71d8ca5fb5d4e34893fc0c940ffbf3ce5db02c51137ea0ce7320fbc6973a1f2c [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71e9ce4bc5312e905cf59df0d71e76d1e4d051128f19b76664eed6c1e3e5519c [INFO] running `Command { std: "docker" "start" "-a" "71e9ce4bc5312e905cf59df0d71e76d1e4d051128f19b76664eed6c1e3e5519c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> 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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmd/status.rs:52:21 [INFO] [stderr] | [INFO] [stderr] 52 | ) -> Result<(), Box> { [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 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 17.83s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/my_git-39f1e6a2889c1e6f) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test objects::blob::tests::blob_dump ... ok [INFO] [stdout] test objects::commit::tests::commit_dump ... ok [INFO] [stdout] test objects::tests::blob_hash ... ok [INFO] [stdout] test objects::tests::tree_hash_multiple ... ok [INFO] [stdout] test objects::tests::commit_hash ... ok [INFO] [stdout] test objects::tests::tree_hash_simple ... ok [INFO] [stdout] test objects::tests::tree_hash_symlink ... ok [INFO] [stdout] test objects::tree::tests::tree_dump ... ok [INFO] [stdout] test objects::tree::tests::tree_dump_multiple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/my_git-e61bb7f788259ad4) [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] [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] [stdout] [INFO] [stderr] [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" "71e9ce4bc5312e905cf59df0d71e76d1e4d051128f19b76664eed6c1e3e5519c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e9ce4bc5312e905cf59df0d71e76d1e4d051128f19b76664eed6c1e3e5519c", kill_on_drop: false }` [INFO] [stdout] 71e9ce4bc5312e905cf59df0d71e76d1e4d051128f19b76664eed6c1e3e5519c