[INFO] fetching crate thrash 0.1.0... [INFO] testing thrash-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210 [INFO] extracting crate thrash 0.1.0 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate thrash 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 225 packages to latest compatible versions [INFO] [stderr] Adding cached v0.6.2 (available: v0.59.0) [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding mockito v0.13.0 (available: v1.7.2) [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.2) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.13.2) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.8) [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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded hyper-tls v0.3.2 [INFO] [stderr] Downloaded try_from v0.3.2 [INFO] [stderr] Downloaded serde_urlencoded v0.5.5 [INFO] [stderr] Downloaded cookie_store v0.7.0 [INFO] [stderr] Downloaded winreg v0.6.2 [INFO] [stderr] Downloaded publicsuffix v1.5.6 [INFO] [stderr] Downloaded cookie v0.12.0 [INFO] [stderr] Downloaded http-muncher v0.3.2 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded reqwest v0.9.24 [INFO] [stderr] Downloaded hyper v0.12.36 [INFO] [stderr] Downloaded cached v0.6.2 [INFO] [stderr] Downloaded mockito v0.13.0 [INFO] [stderr] Downloaded base64 v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30fac8d964ff49a7cb9a39f5f76e443497a105c24204c94458660e3a4d65fc9e [INFO] running `Command { std: "docker" "start" "-a" "30fac8d964ff49a7cb9a39f5f76e443497a105c24204c94458660e3a4d65fc9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30fac8d964ff49a7cb9a39f5f76e443497a105c24204c94458660e3a4d65fc9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30fac8d964ff49a7cb9a39f5f76e443497a105c24204c94458660e3a4d65fc9e", kill_on_drop: false }` [INFO] [stdout] 30fac8d964ff49a7cb9a39f5f76e443497a105c24204c94458660e3a4d65fc9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a73108848d326267e3135ec2f3725d6ea17e609ad90d28236360e4f483cd9064 [INFO] running `Command { std: "docker" "start" "-a" "a73108848d326267e3135ec2f3725d6ea17e609ad90d28236360e4f483cd9064", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling cached v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling cookie_store v0.7.0 [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 35.22s [INFO] running `Command { std: "docker" "inspect" "a73108848d326267e3135ec2f3725d6ea17e609ad90d28236360e4f483cd9064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a73108848d326267e3135ec2f3725d6ea17e609ad90d28236360e4f483cd9064", kill_on_drop: false }` [INFO] [stdout] a73108848d326267e3135ec2f3725d6ea17e609ad90d28236360e4f483cd9064 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5936e739ec24438b6ec658dd02a46efa6b3f55b254402abce2c1af567d07324 [INFO] running `Command { std: "docker" "start" "-a" "c5936e739ec24438b6ec658dd02a46efa6b3f55b254402abce2c1af567d07324", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling http-muncher v0.3.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [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 regex-syntax v0.5.6 [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 11.83s [INFO] running `Command { std: "docker" "inspect" "c5936e739ec24438b6ec658dd02a46efa6b3f55b254402abce2c1af567d07324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5936e739ec24438b6ec658dd02a46efa6b3f55b254402abce2c1af567d07324", kill_on_drop: false }` [INFO] [stdout] c5936e739ec24438b6ec658dd02a46efa6b3f55b254402abce2c1af567d07324 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 388e19b2cabd612391f03e7ebd19533fa8d19af1b00060fbc6dd7a967c38ef04 [INFO] running `Command { std: "docker" "start" "-a" "388e19b2cabd612391f03e7ebd19533fa8d19af1b00060fbc6dd7a967c38ef04", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: field `repository` is never read [INFO] [stderr] --> src/auth/access.rs:259:5 [INFO] [stderr] | [INFO] [stderr] 257 | pub struct RepositoryKeyAccess { [INFO] [stderr] | ------------------- field in this struct [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.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thrash-112946e360a740d7) [INFO] [stderr] Running tests/access.rs (/opt/rustwide/target/debug/deps/access-248585d0d0e4a43d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test group_access ... ok [INFO] [stdout] test repository_group_access ... ok [INFO] [stdout] test repository_user_access ... ok [INFO] [stdout] test project_user_access ... ok [INFO] [stdout] test project_group_access ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.66s [INFO] [stdout] [INFO] [stderr] Running tests/group.rs (/opt/rustwide/target/debug/deps/group-9ffe3274a2ef3a0a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test groups ... ok [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.24s [INFO] [stdout] [INFO] [stderr] Running tests/permission.rs (/opt/rustwide/target/debug/deps/permission-fc9f0fef92b2f6af) [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: ::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: ::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/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:2189:27 [INFO] [stdout] 5: ::get:: [INFO] [stdout] at src/client.rs:80:20 [INFO] [stdout] 6: ::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#0} [INFO] [stdout] at tests/permission.rs:9:41 [INFO] [stdout] 9: >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 10: core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 11: test::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] std::panicking::catch_unwind::do_call::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] std::panicking::catch_unwind::, core::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] std::panic::catch_unwind::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] test::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 12: test::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 13: std::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] ::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] std::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] std::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] std::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 14: + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118: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.64s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test permission` [INFO] running `Command { std: "docker" "inspect" "388e19b2cabd612391f03e7ebd19533fa8d19af1b00060fbc6dd7a967c38ef04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "388e19b2cabd612391f03e7ebd19533fa8d19af1b00060fbc6dd7a967c38ef04", kill_on_drop: false }` [INFO] [stdout] 388e19b2cabd612391f03e7ebd19533fa8d19af1b00060fbc6dd7a967c38ef04