[INFO] fetching crate thrash 0.1.0... [INFO] testing thrash-0.1.0 against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] extracting crate thrash 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate thrash 0.1.0 [INFO] finished tweaking crates.io crate thrash 0.1.0 [INFO] tweaked toml for crates.io crate thrash 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate thrash 0.1.0 on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 215 packages to latest compatible versions [INFO] [stderr] Adding cached v0.6.2 (available: v0.56.0) [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding mockito v0.13.0 (available: v1.7.0) [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.2) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1457a33d0d8b74cc2aeb51ee7f52d112c6103ae0c402c0da4ab5e53af3e272e [INFO] running `Command { std: "docker" "start" "-a" "e1457a33d0d8b74cc2aeb51ee7f52d112c6103ae0c402c0da4ab5e53af3e272e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1457a33d0d8b74cc2aeb51ee7f52d112c6103ae0c402c0da4ab5e53af3e272e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1457a33d0d8b74cc2aeb51ee7f52d112c6103ae0c402c0da4ab5e53af3e272e", kill_on_drop: false }` [INFO] [stdout] e1457a33d0d8b74cc2aeb51ee7f52d112c6103ae0c402c0da4ab5e53af3e272e [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=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" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18833ef5f9f962c13d9d742f741b18ced1dc0fd4f47b7d3a224468e56a4a7580 [INFO] running `Command { std: "docker" "start" "-a" "18833ef5f9f962c13d9d742f741b18ced1dc0fd4f47b7d3a224468e56a4a7580", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cached v0.6.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling thrash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `repository` is never read [INFO] [stdout] --> src/auth/access.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct RepositoryKeyAccess { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 258 | key: SshKey, [INFO] [stdout] 259 | repository: Repository, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryKeyAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project` is never read [INFO] [stdout] --> src/auth/access.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 271 | pub struct ProjectKeyAccess { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 272 | key: SshKey, [INFO] [stdout] 273 | project: Project, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectKeyAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `text` are never read [INFO] [stdout] --> src/auth/access.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct SshKey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 310 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 311 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SshKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `start` are never read [INFO] [stdout] --> src/client.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 169 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | start: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/client.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 178 | struct LinePage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 179 | lines: Vec, [INFO] [stdout] 180 | start: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinePage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.86s [INFO] running `Command { std: "docker" "inspect" "18833ef5f9f962c13d9d742f741b18ced1dc0fd4f47b7d3a224468e56a4a7580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18833ef5f9f962c13d9d742f741b18ced1dc0fd4f47b7d3a224468e56a4a7580", kill_on_drop: false }` [INFO] [stdout] 18833ef5f9f962c13d9d742f741b18ced1dc0fd4f47b7d3a224468e56a4a7580 [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=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" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07844a26c84a04f6f309503f9185b31a01edcaec70b63b4b9d091538d6372f23 [INFO] running `Command { std: "docker" "start" "-a" "07844a26c84a04f6f309503f9185b31a01edcaec70b63b4b9d091538d6372f23", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling http-muncher v0.3.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stdout] warning: field `repository` is never read [INFO] [stdout] --> src/auth/access.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct RepositoryKeyAccess { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 258 | key: SshKey, [INFO] [stdout] 259 | repository: Repository, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryKeyAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project` is never read [INFO] [stdout] --> src/auth/access.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 271 | pub struct ProjectKeyAccess { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 272 | key: SshKey, [INFO] [stdout] 273 | project: Project, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectKeyAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `text` are never read [INFO] [stdout] --> src/auth/access.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct SshKey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 310 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 311 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SshKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `start` are never read [INFO] [stdout] --> src/client.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 169 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | start: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/client.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 178 | struct LinePage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 179 | lines: Vec, [INFO] [stdout] 180 | start: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinePage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling mockito v0.13.0 [INFO] [stderr] Compiling thrash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `repository` is never read [INFO] [stdout] --> src/auth/access.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct RepositoryKeyAccess { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 258 | key: SshKey, [INFO] [stdout] 259 | repository: Repository, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryKeyAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project` is never read [INFO] [stdout] --> src/auth/access.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 271 | pub struct ProjectKeyAccess { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 272 | key: SshKey, [INFO] [stdout] 273 | project: Project, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectKeyAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `text` are never read [INFO] [stdout] --> src/auth/access.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct SshKey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 310 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 311 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SshKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `start` are never read [INFO] [stdout] --> src/client.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 169 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | start: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/client.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 178 | struct LinePage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 179 | lines: Vec, [INFO] [stdout] 180 | start: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinePage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.03s [INFO] running `Command { std: "docker" "inspect" "07844a26c84a04f6f309503f9185b31a01edcaec70b63b4b9d091538d6372f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07844a26c84a04f6f309503f9185b31a01edcaec70b63b4b9d091538d6372f23", kill_on_drop: false }` [INFO] [stdout] 07844a26c84a04f6f309503f9185b31a01edcaec70b63b4b9d091538d6372f23 [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=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" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9720880ed6277eec0da7af5dc5fbc5506c21ffe0bf48d488688fea0fa4b7e0ff [INFO] running `Command { std: "docker" "start" "-a" "9720880ed6277eec0da7af5dc5fbc5506c21ffe0bf48d488688fea0fa4b7e0ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: field `repository` is never read [INFO] [stdout] [INFO] [stderr] --> src/auth/access.rs:259:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 257 | pub struct RepositoryKeyAccess { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ------------------- field in this struct [INFO] [stdout] [INFO] [stderr] 258 | key: SshKey, [INFO] [stderr] 259 | repository: Repository, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RepositoryKeyAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `project` is never read [INFO] [stderr] --> src/auth/access.rs:273:5 [INFO] [stderr] | [INFO] [stderr] 271 | pub struct ProjectKeyAccess { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 272 | key: SshKey, [INFO] [stderr] 273 | project: Project, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProjectKeyAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `text` are never read [INFO] [stderr] --> src/auth/access.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 309 | pub struct SshKey { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 310 | id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 311 | text: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SshKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `size` and `start` are never read [INFO] [stderr] --> src/client.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 168 | struct Page { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 169 | size: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 173 | start: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `start` is never read [INFO] [stderr] --> src/client.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 178 | struct LinePage { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 179 | lines: Vec, [INFO] [stderr] 180 | start: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LinePage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `thrash` (lib) generated 5 warnings [INFO] [stderr] warning: `thrash` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thrash-9c4a4b1dea78db7e) [INFO] [stderr] Running tests/access.rs (/opt/rustwide/target/debug/deps/access-49514f57f25eaac4) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test project_user_access ... ok [INFO] [stdout] test project_group_access ... ok [INFO] [stdout] test repository_user_access ... ok [INFO] [stdout] test repository_group_access ... ok [INFO] [stdout] test group_access ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s [INFO] [stdout] [INFO] [stderr] Running tests/group.rs (/opt/rustwide/target/debug/deps/group-4cafcc0be9ab58f0) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test groups ... ok [INFO] [stderr] Running tests/permission.rs (/opt/rustwide/target/debug/deps/permission-3015380eede02872) [INFO] [stdout] test groups_admin ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test project_default_permission_none ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- project_default_permission_none stdout ---- [INFO] [stdout] Error: Error(Hyper(Error(Io, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })), "http://127.0.0.1:1234/rest/api/1.0/projects/FOO/permissions/PROJECT_WRITE/all") [INFO] [stdout] [INFO] [stdout] 0: failure::backtrace::internal::InternalBacktrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/backtrace/internal.rs:46:44 [INFO] [stdout] 1: failure::backtrace::Backtrace::new [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/backtrace/mod.rs:121:35 [INFO] [stdout] 2: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/error/error_impl.rs:19:17 [INFO] [stdout] 3: >::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/failure-0.1.8/src/error/mod.rs:36:18 [INFO] [stdout] 4: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/result.rs:2177:27 [INFO] [stdout] 5: thrash::client::Client::get [INFO] [stdout] at src/client.rs:80:20 [INFO] [stdout] 6: thrash::auth::permission::::project_default_permission [INFO] [stdout] at src/auth/permission.rs:52:49 [INFO] [stdout] 7: permission::project_default_permission_none [INFO] [stdout] at tests/permission.rs:42:23 [INFO] [stdout] 8: permission::project_default_permission_none::{{closure}} [INFO] [stdout] at tests/permission.rs:9:41 [INFO] [stdout] 9: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 10: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:663:18 [INFO] [stdout] 11: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:74 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] std::panicking::catch_unwind [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:27 [INFO] [stdout] test::run_test::{{closure}} [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:607:43 [INFO] [stdout] 12: test::run_test::{{closure}} [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:637:41 [INFO] [stdout] std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 13: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] std::panicking::catch_unwind [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 14: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] std::sys::thread::unix::Thread::new::thread_start [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 15: [INFO] [stdout] 16: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] project_default_permission_none [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test permission` [INFO] running `Command { std: "docker" "inspect" "9720880ed6277eec0da7af5dc5fbc5506c21ffe0bf48d488688fea0fa4b7e0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9720880ed6277eec0da7af5dc5fbc5506c21ffe0bf48d488688fea0fa4b7e0ff", kill_on_drop: false }` [INFO] [stdout] 9720880ed6277eec0da7af5dc5fbc5506c21ffe0bf48d488688fea0fa4b7e0ff