[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] testing aureliengamet/minigit against 1.75.0 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faureliengamet%2Fminigit" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aureliengamet/minigit on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.36 [INFO] [stderr] Downloaded miniz-sys v0.1.11 [INFO] [stderr] Downloaded miniz_oxide v0.2.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.15 [INFO] [stderr] Downloaded flate2 v1.0.7 [INFO] [stderr] Downloaded backtrace v0.3.30 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.1 [INFO] [stderr] Downloaded autocfg v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a64c0ebff122094d5bc694c2a5350a6dfe01f7681f7fccf6c49b7f509552c8ff [INFO] running `Command { std: "docker" "start" "-a" "a64c0ebff122094d5bc694c2a5350a6dfe01f7681f7fccf6c49b7f509552c8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a64c0ebff122094d5bc694c2a5350a6dfe01f7681f7fccf6c49b7f509552c8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64c0ebff122094d5bc694c2a5350a6dfe01f7681f7fccf6c49b7f509552c8ff", kill_on_drop: false }` [INFO] [stdout] a64c0ebff122094d5bc694c2a5350a6dfe01f7681f7fccf6c49b7f509552c8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f07e06e1e04a01ef74274339e8d9608ca7121b4fc48c4758869b690be764015c [INFO] running `Command { std: "docker" "start" "-a" "f07e06e1e04a01ef74274339e8d9608ca7121b4fc48c4758869b690be764015c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [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 rust-crypto v0.2.36 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling minigit v0.1.0 (/opt/rustwide/workdir) [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: method `get_mode` is never used [INFO] [stdout] --> src/gitobject.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 207 | impl Entry { [INFO] [stdout] | ---------- method in this implementation [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "f07e06e1e04a01ef74274339e8d9608ca7121b4fc48c4758869b690be764015c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f07e06e1e04a01ef74274339e8d9608ca7121b4fc48c4758869b690be764015c", kill_on_drop: false }` [INFO] [stdout] f07e06e1e04a01ef74274339e8d9608ca7121b4fc48c4758869b690be764015c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c17933b85b6c93bfe24ec38bf66343d624ff45ed5cb4ec30e395a806f5fbc5b5 [INFO] running `Command { std: "docker" "start" "-a" "c17933b85b6c93bfe24ec38bf66343d624ff45ed5cb4ec30e395a806f5fbc5b5", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "c17933b85b6c93bfe24ec38bf66343d624ff45ed5cb4ec30e395a806f5fbc5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c17933b85b6c93bfe24ec38bf66343d624ff45ed5cb4ec30e395a806f5fbc5b5", kill_on_drop: false }` [INFO] [stdout] c17933b85b6c93bfe24ec38bf66343d624ff45ed5cb4ec30e395a806f5fbc5b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f47a3b554dd8225385b0cdb4fb812bcb782c384e9d54b5f41bbf2c4087c56456 [INFO] running `Command { std: "docker" "start" "-a" "f47a3b554dd8225385b0cdb4fb812bcb782c384e9d54b5f41bbf2c4087c56456", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/index.rs:256:48 [INFO] [stderr] | [INFO] [stderr] 256 | fn prepare_test_context(paths: &[&str]) -> (Index) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 256 - fn prepare_test_context(paths: &[&str]) -> (Index) { [INFO] [stderr] 256 + fn prepare_test_context(paths: &[&str]) -> Index { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gitobject.rs:55:22 [INFO] [stderr] | [INFO] [stderr] 55 | entries: Vec>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 55 | entries: Vec>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/workspace.rs:65:99 [INFO] [stderr] | [INFO] [stderr] 65 | fn list_dir_recurse(&self, path: &Path, mut result: Vec) -> 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] 65 | fn list_dir_recurse(&self, path: &Path, mut result: Vec) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/workspace.rs:84:101 [INFO] [stderr] | [INFO] [stderr] 84 | fn list_files_recurse(&self, path: &Path, mut result: Vec) -> 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] 84 | fn list_files_recurse(&self, path: &Path, mut result: Vec) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gitobject.rs:51:47 [INFO] [stderr] | [INFO] [stderr] 51 | fn traverse_private(&mut self, test: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()>; [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] 51 | fn traverse_private(&mut self, test: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gitobject.rs:80:47 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn traverse(&mut self, function: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [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] 80 | pub fn traverse(&mut self, function: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gitobject.rs:116:51 [INFO] [stderr] | [INFO] [stderr] 116 | fn traverse_private(&mut self, function: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [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] 116 | fn traverse_private(&mut self, function: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gitobject.rs:272:52 [INFO] [stderr] | [INFO] [stderr] 272 | fn traverse_private(&mut self, _function: &mut FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [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] 272 | fn traverse_private(&mut self, _function: &mut dyn FnMut(&mut Tree) -> MinigitResult<()>) -> MinigitResult<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `minigit` (bin "minigit" test) generated 8 warnings (run `cargo fix --bin "minigit" --tests` to apply 8 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/minigit-92aeac3c96bdb312) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test command::status::tests::test_list_untracked_directory ... ok [INFO] [stdout] test command::add::tests::test_add_one_file ... ok [INFO] [stdout] test command::add::tests::test_add_multiple_inside_a_directory ... ok [INFO] [stdout] test command::add::tests::test_add_directory ... ok [INFO] [stdout] test command::add::tests::test_add_multiple_files ... ok [INFO] [stdout] test command::add::tests::test_add_replace_directory_by_file ... ok [INFO] [stdout] test command::add::tests::test_add_replace_complex_directory_by_file ... ok [INFO] [stdout] test command::status::tests::test_do_not_list_untracked_directory ... ok [INFO] [stdout] test command::add::tests::test_add_replace_file_by_directory ... ok [INFO] [stdout] test index::tests::test_add_multiple_inside_a_directory ... ok [INFO] [stdout] test command::add::tests::test_add_one_executable_file ... ok [INFO] [stdout] test command::status::tests::test_list_untracked_files_in_name_order ... ok [INFO] [stdout] test index::tests::test_add_replace_file_by_directory ... ok [INFO] [stdout] test index::tests::test_add_replace_complex_directory_by_file ... ok [INFO] [stdout] test index::tests::test_add_one_entry ... ok [INFO] [stdout] test command::status::tests::test_list_untracked_directory_that_indirectly_contains_file ... ok [INFO] [stdout] test command::status::tests::test_list_untracked_files_inside_tracked_directories ... ok [INFO] [stdout] test index::tests::test_add_replace_directory_by_file ... ok [INFO] [stderr] error: test failed, to rerun pass `--bin minigit` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/minigit-92aeac3c96bdb312` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "f47a3b554dd8225385b0cdb4fb812bcb782c384e9d54b5f41bbf2c4087c56456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f47a3b554dd8225385b0cdb4fb812bcb782c384e9d54b5f41bbf2c4087c56456", kill_on_drop: false }` [INFO] [stdout] f47a3b554dd8225385b0cdb4fb812bcb782c384e9d54b5f41bbf2c4087c56456 [INFO] testing aureliengamet/minigit against beta-2024-01-09 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faureliengamet%2Fminigit" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aureliengamet/minigit on toolchain beta-2024-01-09 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-01-09" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-01-09" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+beta-2024-01-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fd30cb01f2911304f4876b29403639bffd1cc05976f7ff430da4589ecf151d6 [INFO] running `Command { std: "docker" "start" "-a" "8fd30cb01f2911304f4876b29403639bffd1cc05976f7ff430da4589ecf151d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fd30cb01f2911304f4876b29403639bffd1cc05976f7ff430da4589ecf151d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd30cb01f2911304f4876b29403639bffd1cc05976f7ff430da4589ecf151d6", kill_on_drop: false }` [INFO] [stdout] 8fd30cb01f2911304f4876b29403639bffd1cc05976f7ff430da4589ecf151d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-01-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e77551f2d285420c53071a13dd8dc02152916acabbeb18195eb143ec422e63e [INFO] running `Command { std: "docker" "start" "-a" "1e77551f2d285420c53071a13dd8dc02152916acabbeb18195eb143ec422e63e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling rand_core v0.4.0 [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] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/650745ceb2ae60e04f8cd7bfb671fc37239533e4/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1e77551f2d285420c53071a13dd8dc02152916acabbeb18195eb143ec422e63e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e77551f2d285420c53071a13dd8dc02152916acabbeb18195eb143ec422e63e", kill_on_drop: false }` [INFO] [stdout] 1e77551f2d285420c53071a13dd8dc02152916acabbeb18195eb143ec422e63e