[INFO] fetching crate git-github 0.1.4... [INFO] building git-github-0.1.4 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate git-github 0.1.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate git-github 0.1.4 [INFO] finished tweaking crates.io crate git-github 0.1.4 [INFO] tweaked toml for crates.io crate git-github 0.1.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate git-github 0.1.4 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate git-github 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.2.10 [INFO] [stderr] Downloaded anstyle v1.0.1 [INFO] [stderr] Downloaded tempfile v3.7.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.1 [INFO] [stderr] Downloaded clap_derive v4.3.12 [INFO] [stderr] Downloaded clap v4.3.19 [INFO] [stderr] Downloaded h2 v0.3.20 [INFO] [stderr] Downloaded serde v1.0.175 [INFO] [stderr] Downloaded clap_builder v4.3.19 [INFO] [stderr] Downloaded serde_json v1.0.103 [INFO] [stderr] Downloaded git2 v0.17.2 [INFO] [stderr] Downloaded tokio v1.29.1 [INFO] [stderr] Downloaded libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Downloaded libz-sys v1.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f84db4719a252980ceb378e8a3747974256fc026ba2d8f3075955171ff7a618c [INFO] running `Command { std: "docker" "start" "-a" "f84db4719a252980ceb378e8a3747974256fc026ba2d8f3075955171ff7a618c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f84db4719a252980ceb378e8a3747974256fc026ba2d8f3075955171ff7a618c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84db4719a252980ceb378e8a3747974256fc026ba2d8f3075955171ff7a618c", kill_on_drop: false }` [INFO] [stdout] f84db4719a252980ceb378e8a3747974256fc026ba2d8f3075955171ff7a618c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 045a045f38d047ea78d53dd9a176bf6dd103e42a802ccb372a9762a8ffa828e4 [INFO] running `Command { std: "docker" "start" "-a" "045a045f38d047ea78d53dd9a176bf6dd103e42a802ccb372a9762a8ffa828e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling open v5.0.0 [INFO] [stderr] Compiling clap_builder v4.3.19 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling libz-sys v1.1.10 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling clap v4.3.19 [INFO] [stderr] Compiling git2 v0.17.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling git-github v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut repo = git::Repo::new(&path); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Platform` is more private than the item `url::Remote::get_platform` [INFO] [stdout] --> src/url.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_platform(&self) -> Platform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `url::Remote::get_platform` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Platform` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/url.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | enum Platform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Platform` is never used [INFO] [stdout] --> src/url.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum Platform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/url.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Remote { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 42 | schema: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Remote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_git`, `is_http`, and `get_platform` are never used [INFO] [stdout] --> src/url.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Remote { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_git(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_http(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_platform(&self) -> Platform { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "045a045f38d047ea78d53dd9a176bf6dd103e42a802ccb372a9762a8ffa828e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "045a045f38d047ea78d53dd9a176bf6dd103e42a802ccb372a9762a8ffa828e4", kill_on_drop: false }` [INFO] [stdout] 045a045f38d047ea78d53dd9a176bf6dd103e42a802ccb372a9762a8ffa828e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63f52a8b955a6bd267cd1eb7f70e8bc3775f449c53ff85a1ea17286474d2b12b [INFO] running `Command { std: "docker" "start" "-a" "63f52a8b955a6bd267cd1eb7f70e8bc3775f449c53ff85a1ea17286474d2b12b", kill_on_drop: false }` [INFO] [stderr] Compiling git-github v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut repo = git::Repo::new(&path); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Platform` is more private than the item `url::Remote::get_platform` [INFO] [stdout] --> src/url.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_platform(&self) -> Platform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `url::Remote::get_platform` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Platform` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/url.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | enum Platform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Platform` is never used [INFO] [stdout] --> src/url.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum Platform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/url.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Remote { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 42 | schema: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Remote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_git`, `is_http`, and `get_platform` are never used [INFO] [stdout] --> src/url.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Remote { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_git(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_http(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_platform(&self) -> Platform { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut repo = git::Repo::new(&path); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `url::Platform` is more private than the item `url::Remote::get_platform` [INFO] [stdout] --> src/url.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_platform(&self) -> Platform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `url::Remote::get_platform` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `url::Platform` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/url.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | enum Platform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/url.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | Other(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Other(String), [INFO] [stdout] 33 + Other(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "63f52a8b955a6bd267cd1eb7f70e8bc3775f449c53ff85a1ea17286474d2b12b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f52a8b955a6bd267cd1eb7f70e8bc3775f449c53ff85a1ea17286474d2b12b", kill_on_drop: false }` [INFO] [stdout] 63f52a8b955a6bd267cd1eb7f70e8bc3775f449c53ff85a1ea17286474d2b12b