[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] checking flomonster/my-git against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflomonster%2Fmy-git" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flomonster/my-git on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.1 [INFO] [stderr] Downloaded serde v1.0.99 [INFO] [stderr] Downloaded path_abs v0.5.0 [INFO] [stderr] Downloaded rgb v0.8.13 [INFO] [stderr] Downloaded colored v1.8.0 [INFO] [stderr] Downloaded serde_derive v1.0.99 [INFO] [stderr] Downloaded cgmath v0.16.1 [INFO] [stderr] Downloaded chrono v0.4.7 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded backtrace-sys v0.1.30 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.3 [INFO] [stderr] Downloaded syn v1.0.4 [INFO] [stderr] Downloaded winconsole v0.10.0 [INFO] [stderr] Downloaded backtrace v0.3.32 [INFO] [stderr] Downloaded miniz_oxide v0.3.1 [INFO] [stderr] Downloaded flate2 v1.0.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e84997ba30c9fd2310d9d368e1dcf2440ae8ec6e0dd42b1187ebdf393f01228 [INFO] running `Command { std: "docker" "start" "-a" "2e84997ba30c9fd2310d9d368e1dcf2440ae8ec6e0dd42b1187ebdf393f01228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e84997ba30c9fd2310d9d368e1dcf2440ae8ec6e0dd42b1187ebdf393f01228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e84997ba30c9fd2310d9d368e1dcf2440ae8ec6e0dd42b1187ebdf393f01228", kill_on_drop: false }` [INFO] [stdout] 2e84997ba30c9fd2310d9d368e1dcf2440ae8ec6e0dd42b1187ebdf393f01228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6102a8d2e7e0e3ad752d436b48ca4c35ca0d07972cef0e8fdb70cd5aba14af62 [INFO] running `Command { std: "docker" "start" "-a" "6102a8d2e7e0e3ad752d436b48ca4c35ca0d07972cef0e8fdb70cd5aba14af62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling syn v1.0.4 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking miniz_oxide v0.3.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rgb v0.8.13 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs-sys v0.3.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking flate2 v1.0.9 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.1 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Checking stfu8 v0.2.4 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Checking path_abs v0.5.0 [INFO] [stderr] Checking 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/objects/commit.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 221 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 222 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/objects/tree.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 338 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 339 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Blob` is imported redundantly [INFO] [stdout] --> src/objects/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use super::Blob; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | use super::Tree; [INFO] [stdout] 75 | use super::*; [INFO] [stdout] | -------- the item `Blob` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Tree` is imported redundantly [INFO] [stdout] --> src/objects/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use super::Tree; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 75 | use super::*; [INFO] [stdout] | -------- the item `Tree` is already imported here [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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: 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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.92s [INFO] running `Command { std: "docker" "inspect" "6102a8d2e7e0e3ad752d436b48ca4c35ca0d07972cef0e8fdb70cd5aba14af62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6102a8d2e7e0e3ad752d436b48ca4c35ca0d07972cef0e8fdb70cd5aba14af62", kill_on_drop: false }` [INFO] [stdout] 6102a8d2e7e0e3ad752d436b48ca4c35ca0d07972cef0e8fdb70cd5aba14af62 [INFO] checking flomonster/my-git against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflomonster%2Fmy-git" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flomonster/my-git on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15e013ef0fb3f40cfb34bb2e4051db267fa262b353e144c828d60e9d842bb303 [INFO] running `Command { std: "docker" "start" "-a" "15e013ef0fb3f40cfb34bb2e4051db267fa262b353e144c828d60e9d842bb303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15e013ef0fb3f40cfb34bb2e4051db267fa262b353e144c828d60e9d842bb303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e013ef0fb3f40cfb34bb2e4051db267fa262b353e144c828d60e9d842bb303", kill_on_drop: false }` [INFO] [stdout] 15e013ef0fb3f40cfb34bb2e4051db267fa262b353e144c828d60e9d842bb303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2466e142fe2726328021f41f6bb3bdbb3dc135a7cff2e226dae92dc9f056dc3e [INFO] running `Command { std: "docker" "start" "-a" "2466e142fe2726328021f41f6bb3bdbb3dc135a7cff2e226dae92dc9f056dc3e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v1.0.4 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.3.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking rgb v0.8.13 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking flate2 v1.0.9 [INFO] [stderr] Checking dirs v2.0.1 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Checking stfu8 v0.2.4 [INFO] [stderr] Checking path_abs v0.5.0 [INFO] [stderr] Checking my_git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/objects/commit.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 221 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 222 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/objects/tree.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 338 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 339 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Blob` is imported redundantly [INFO] [stdout] --> src/objects/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use super::Blob; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | use super::Tree; [INFO] [stdout] 75 | use super::*; [INFO] [stdout] | -------- the item `Blob` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Tree` is imported redundantly [INFO] [stdout] --> src/objects/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use super::Tree; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 75 | use super::*; [INFO] [stdout] | -------- the item `Tree` is already imported here [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: 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_entry(&self, path: &PathBuf) -> Result<&TreeEntry, 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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: 11 warnings emitted [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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` profile [unoptimized + debuginfo] target(s) in 24.83s [INFO] running `Command { std: "docker" "inspect" "2466e142fe2726328021f41f6bb3bdbb3dc135a7cff2e226dae92dc9f056dc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2466e142fe2726328021f41f6bb3bdbb3dc135a7cff2e226dae92dc9f056dc3e", kill_on_drop: false }` [INFO] [stdout] 2466e142fe2726328021f41f6bb3bdbb3dc135a7cff2e226dae92dc9f056dc3e