[INFO] fetching crate thrash 0.1.0... [INFO] testing thrash-0.1.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate thrash 0.1.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate thrash 0.1.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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.24) [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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac0cf06c8cac62e0c3b912e3e0c29627b6312dfa782c2ea75dd00ed67447b623 [INFO] running `Command { std: "docker" "start" "-a" "ac0cf06c8cac62e0c3b912e3e0c29627b6312dfa782c2ea75dd00ed67447b623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac0cf06c8cac62e0c3b912e3e0c29627b6312dfa782c2ea75dd00ed67447b623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0cf06c8cac62e0c3b912e3e0c29627b6312dfa782c2ea75dd00ed67447b623", kill_on_drop: false }` [INFO] [stdout] ac0cf06c8cac62e0c3b912e3e0c29627b6312dfa782c2ea75dd00ed67447b623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97c98edf6d371d236629f9b2a00673b36bb621c2b971995949a6320d100aa678 [INFO] running `Command { std: "docker" "start" "-a" "97c98edf6d371d236629f9b2a00673b36bb621c2b971995949a6320d100aa678", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [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 miniz_oxide v0.8.9 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling cached v0.6.2 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling failure v0.1.8 [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)]` 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 3m 12s [INFO] running `Command { std: "docker" "inspect" "97c98edf6d371d236629f9b2a00673b36bb621c2b971995949a6320d100aa678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c98edf6d371d236629f9b2a00673b36bb621c2b971995949a6320d100aa678", kill_on_drop: false }` [INFO] [stdout] 97c98edf6d371d236629f9b2a00673b36bb621c2b971995949a6320d100aa678 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c51169cf839b8009fa1b5675221b44b6146ea00442fb54276bd6dcfdc00d1386 [INFO] running `Command { std: "docker" "start" "-a" "c51169cf839b8009fa1b5675221b44b6146ea00442fb54276bd6dcfdc00d1386", 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 ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling regex-syntax v0.5.6 [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)]` 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 rand v0.3.23 [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)]` 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 42.64s [INFO] running `Command { std: "docker" "inspect" "c51169cf839b8009fa1b5675221b44b6146ea00442fb54276bd6dcfdc00d1386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c51169cf839b8009fa1b5675221b44b6146ea00442fb54276bd6dcfdc00d1386", kill_on_drop: false }` [INFO] [stdout] c51169cf839b8009fa1b5675221b44b6146ea00442fb54276bd6dcfdc00d1386 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b6a3d68a96ea5239b00abc6d397d5496557b052e1d36a73fc1e109ad090ff2f1 [INFO] running `Command { std: "docker" "start" "-a" "b6a3d68a96ea5239b00abc6d397d5496557b052e1d36a73fc1e109ad090ff2f1", 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] [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)]` 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.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thrash-6dc1b40c40dac957) [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] [stderr] Running tests/access.rs (/opt/rustwide/target/debug/deps/access-c209a1dc32dfb1e4) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test group_access ... ok [INFO] [stdout] test repository_group_access ... ok [INFO] [stdout] test project_group_access ... ok [INFO] [stdout] test repository_user_access ... ok [INFO] [stdout] test project_user_access ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] [stderr] Running tests/group.rs (/opt/rustwide/target/debug/deps/group-b0228c85c68be39e) [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.20s [INFO] [stdout] [INFO] [stderr] Running tests/permission.rs (/opt/rustwide/target/debug/deps/permission-c6babea0b31cd486) [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_ADMIN/all") [INFO] [stdout] [INFO] [stdout] 0: backtrace::backtrace::libunwind::trace [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/backtrace-0.3.76/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] backtrace::backtrace::trace_unsynchronized [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/backtrace-0.3.76/src/backtrace/mod.rs:66:14 [INFO] [stdout] backtrace::backtrace::trace [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/backtrace-0.3.76/src/backtrace/mod.rs:53:14 [INFO] [stdout] 1: backtrace::capture::Backtrace::create [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/backtrace-0.3.76/src/capture.rs:294:9 [INFO] [stdout] 2: 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] 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] 3: >::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] 4: >::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] as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:2079:27 [INFO] [stdout] thrash::client::Client::get [INFO] [stdout] at src/client.rs:80:20 [INFO] [stdout] thrash::auth::permission::::project_default_permission [INFO] [stdout] at src/auth/permission.rs:52:49 [INFO] [stdout] 5: permission::project_default_permission_none [INFO] [stdout] at tests/permission.rs:42:23 [INFO] [stdout] permission::project_default_permission_none::{{closure}} [INFO] [stdout] at tests/permission.rs:9:41 [INFO] [stdout] core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18 [INFO] [stdout] 7: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] std::panicking::catch_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] test::run_test_in_process [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27 [INFO] [stdout] test::run_test::{{closure}} [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43 [INFO] [stdout] 8: test::run_test::{{closure}} [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41 [INFO] [stdout] std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 9: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] std::panicking::catch_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] std::panic::catch_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 10: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 11: [INFO] [stdout] 12: 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.36s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test permission` [INFO] running `Command { std: "docker" "inspect" "b6a3d68a96ea5239b00abc6d397d5496557b052e1d36a73fc1e109ad090ff2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a3d68a96ea5239b00abc6d397d5496557b052e1d36a73fc1e109ad090ff2f1", kill_on_drop: false }` [INFO] [stdout] b6a3d68a96ea5239b00abc6d397d5496557b052e1d36a73fc1e109ad090ff2f1