[INFO] cloning repository https://github.com/aureliengamet/minigit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aureliengamet/minigit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faureliengamet%2Fminigit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faureliengamet%2Fminigit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e7c7550029c269be6541a955bf02048353b9204 [INFO] checking aureliengamet/minigit against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faureliengamet%2Fminigit" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aureliengamet/minigit on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aureliengamet/minigit [INFO] finished tweaking git repo https://github.com/aureliengamet/minigit [INFO] tweaked toml for git repo https://github.com/aureliengamet/minigit written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/aureliengamet/minigit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 621384dd412461353582b25f74c3b9fc3b628e2d03e619d201e2bc1980706f91 [INFO] running `Command { std: "docker" "start" "-a" "621384dd412461353582b25f74c3b9fc3b628e2d03e619d201e2bc1980706f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "621384dd412461353582b25f74c3b9fc3b628e2d03e619d201e2bc1980706f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621384dd412461353582b25f74c3b9fc3b628e2d03e619d201e2bc1980706f91", kill_on_drop: false }` [INFO] [stdout] 621384dd412461353582b25f74c3b9fc3b628e2d03e619d201e2bc1980706f91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a16437aa7b06305dc716ebeafd9bf4251ab733b1afaf17acc6060c8122a5132e [INFO] running `Command { std: "docker" "start" "-a" "a16437aa7b06305dc716ebeafd9bf4251ab733b1afaf17acc6060c8122a5132e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking minigit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/index.rs:256:48 [INFO] [stdout] | [INFO] [stdout] 256 | fn prepare_test_context(paths: &[&str]) -> (Index) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - fn prepare_test_context(paths: &[&str]) -> (Index) { [INFO] [stdout] 256 + fn prepare_test_context(paths: &[&str]) -> Index { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | entries: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | entries: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:65:99 [INFO] [stdout] | [INFO] [stdout] 65 | fn list_dir_recurse(&self, path: &Path, mut result: Vec) -> 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] 65 | fn list_dir_recurse(&self, path: &Path, mut result: Vec) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:84:101 [INFO] [stdout] | [INFO] [stdout] 84 | fn list_files_recurse(&self, path: &Path, mut result: Vec) -> 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] 84 | fn list_files_recurse(&self, path: &Path, mut result: Vec) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | fn traverse_private(&mut self, test: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()>; [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] 51 | fn traverse_private(&mut self, test: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:80:47 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn traverse(&mut self, function: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [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] 80 | pub fn traverse(&mut self, function: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:116:51 [INFO] [stdout] | [INFO] [stdout] 116 | fn traverse_private(&mut self, function: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [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] 116 | fn traverse_private(&mut self, function: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:272:52 [INFO] [stdout] | [INFO] [stdout] 272 | fn traverse_private(&mut self, _function: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [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] 272 | fn traverse_private(&mut self, _function: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | entries: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | entries: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:65:99 [INFO] [stdout] | [INFO] [stdout] 65 | fn list_dir_recurse(&self, path: &Path, mut result: Vec) -> 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] 65 | fn list_dir_recurse(&self, path: &Path, mut result: Vec) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/workspace.rs:84:101 [INFO] [stdout] | [INFO] [stdout] 84 | fn list_files_recurse(&self, path: &Path, mut result: Vec) -> 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] 84 | fn list_files_recurse(&self, path: &Path, mut result: Vec) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | fn traverse_private(&mut self, test: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()>; [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] 51 | fn traverse_private(&mut self, test: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:80:47 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn traverse(&mut self, function: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [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] 80 | pub fn traverse(&mut self, function: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:116:51 [INFO] [stdout] | [INFO] [stdout] 116 | fn traverse_private(&mut self, function: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [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] 116 | fn traverse_private(&mut self, function: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gitobject.rs:272:52 [INFO] [stdout] | [INFO] [stdout] 272 | fn traverse_private(&mut self, _function: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [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] 272 | fn traverse_private(&mut self, _function: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_mode` is never used [INFO] [stdout] --> src/gitobject.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_mode(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "a16437aa7b06305dc716ebeafd9bf4251ab733b1afaf17acc6060c8122a5132e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16437aa7b06305dc716ebeafd9bf4251ab733b1afaf17acc6060c8122a5132e", kill_on_drop: false }` [INFO] [stdout] a16437aa7b06305dc716ebeafd9bf4251ab733b1afaf17acc6060c8122a5132e