[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faureliengamet%2Fminigit" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aureliengamet/minigit on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c562ba36ef7280e8524f47dcf03e8a1bac1c0036579acb6fb10c0fc6d70da630 [INFO] running `Command { std: "docker" "start" "-a" "c562ba36ef7280e8524f47dcf03e8a1bac1c0036579acb6fb10c0fc6d70da630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c562ba36ef7280e8524f47dcf03e8a1bac1c0036579acb6fb10c0fc6d70da630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c562ba36ef7280e8524f47dcf03e8a1bac1c0036579acb6fb10c0fc6d70da630", kill_on_drop: false }` [INFO] [stdout] c562ba36ef7280e8524f47dcf03e8a1bac1c0036579acb6fb10c0fc6d70da630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a64cb8772fe6fdea8cfd02644094d1d381e3520987d89e0876bbbb41e78c41e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a64cb8772fe6fdea8cfd02644094d1d381e3520987d89e0876bbbb41e78c41e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking minigit v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Tree) -> MinigitResult<()>` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn TreeOrEntry` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Tree) -> MinigitResult<()>` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Tree) -> MinigitResult<()>` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Tree) -> MinigitResult<()>` [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Tree) -> MinigitResult<()>` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn TreeOrEntry` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Tree) -> MinigitResult<()>` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Tree) -> MinigitResult<()>` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Tree) -> MinigitResult<()>` [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mode` [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 22.10s [INFO] running `Command { std: "docker" "inspect" "a64cb8772fe6fdea8cfd02644094d1d381e3520987d89e0876bbbb41e78c41e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64cb8772fe6fdea8cfd02644094d1d381e3520987d89e0876bbbb41e78c41e8", kill_on_drop: false }` [INFO] [stdout] a64cb8772fe6fdea8cfd02644094d1d381e3520987d89e0876bbbb41e78c41e8