[INFO] cloning repository https://github.com/olsigjecii/insufficient_encapsulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olsigjecii/insufficient_encapsulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folsigjecii%2Finsufficient_encapsulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folsigjecii%2Finsufficient_encapsulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8045cd239c83df3d20bae6627152ca438622ad64 [INFO] building olsigjecii/insufficient_encapsulation against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folsigjecii%2Finsufficient_encapsulation" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/olsigjecii/insufficient_encapsulation [INFO] finished tweaking git repo https://github.com/olsigjecii/insufficient_encapsulation [INFO] tweaked toml for git repo https://github.com/olsigjecii/insufficient_encapsulation written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/olsigjecii/insufficient_encapsulation on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/olsigjecii/insufficient_encapsulation 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14995e77e53a1a8ea62614568929abab03b82895531d6d2c1a34beff301c2887 [INFO] running `Command { std: "docker" "start" "-a" "14995e77e53a1a8ea62614568929abab03b82895531d6d2c1a34beff301c2887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14995e77e53a1a8ea62614568929abab03b82895531d6d2c1a34beff301c2887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14995e77e53a1a8ea62614568929abab03b82895531d6d2c1a34beff301c2887", kill_on_drop: false }` [INFO] [stdout] 14995e77e53a1a8ea62614568929abab03b82895531d6d2c1a34beff301c2887 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d04152bf5ad3bc4588f4565222784228f88dea84b4c32a536d4e729d03c387fd [INFO] running `Command { std: "docker" "start" "-a" "d04152bf5ad3bc4588f4565222784228f88dea84b4c32a536d4e729d03c387fd", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling insufficient_encapsulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `balance` is never used [INFO] [stdout] --> src/main.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 42 | impl BankAccount { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn balance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.80s [INFO] running `Command { std: "docker" "inspect" "d04152bf5ad3bc4588f4565222784228f88dea84b4c32a536d4e729d03c387fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d04152bf5ad3bc4588f4565222784228f88dea84b4c32a536d4e729d03c387fd", kill_on_drop: false }` [INFO] [stdout] d04152bf5ad3bc4588f4565222784228f88dea84b4c32a536d4e729d03c387fd [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2cfbbe01920486acb532852ea168568e5e00bf24a55220da7d3e667416c0556 [INFO] running `Command { std: "docker" "start" "-a" "b2cfbbe01920486acb532852ea168568e5e00bf24a55220da7d3e667416c0556", kill_on_drop: false }` [INFO] [stderr] Compiling insufficient_encapsulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `balance` is never used [INFO] [stdout] --> src/main.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 42 | impl BankAccount { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn balance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "b2cfbbe01920486acb532852ea168568e5e00bf24a55220da7d3e667416c0556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2cfbbe01920486acb532852ea168568e5e00bf24a55220da7d3e667416c0556", kill_on_drop: false }` [INFO] [stdout] b2cfbbe01920486acb532852ea168568e5e00bf24a55220da7d3e667416c0556