[INFO] fetching crate oh2 0.1.2... [INFO] testing oh2-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate oh2 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate oh2 0.1.2 [INFO] finished tweaking crates.io crate oh2 0.1.2 [INFO] tweaked toml for crates.io crate oh2 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oh2 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oh2 0.1.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27f5df71aa13fc0a1cd6000452eeefd9d2c66b4aca024602fcb1d0730ecb93f0 [INFO] running `Command { std: "docker" "start" "-a" "27f5df71aa13fc0a1cd6000452eeefd9d2c66b4aca024602fcb1d0730ecb93f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27f5df71aa13fc0a1cd6000452eeefd9d2c66b4aca024602fcb1d0730ecb93f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f5df71aa13fc0a1cd6000452eeefd9d2c66b4aca024602fcb1d0730ecb93f0", kill_on_drop: false }` [INFO] [stdout] 27f5df71aa13fc0a1cd6000452eeefd9d2c66b4aca024602fcb1d0730ecb93f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e73677f36dc58b43b413d0a5cc4b1cd5c9af525c27010a3243557de697e1717 [INFO] running `Command { std: "docker" "start" "-a" "6e73677f36dc58b43b413d0a5cc4b1cd5c9af525c27010a3243557de697e1717", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling toml_edit v0.22.16 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling tokio v1.38.1 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling toml v0.8.15 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling oh2 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut headers = json_to_hashmap(&header_data); [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 `Config` is more private than the item `parse_config` [INFO] [stdout] --> src/cmd.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_config(config_file_path: &str) -> Config{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse_config` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Config` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cmd.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.44s [INFO] running `Command { std: "docker" "inspect" "6e73677f36dc58b43b413d0a5cc4b1cd5c9af525c27010a3243557de697e1717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e73677f36dc58b43b413d0a5cc4b1cd5c9af525c27010a3243557de697e1717", kill_on_drop: false }` [INFO] [stdout] 6e73677f36dc58b43b413d0a5cc4b1cd5c9af525c27010a3243557de697e1717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] add5f61be07a05118002da58b45489b80a1fd9b97b3df8b222efe2670ad0d792 [INFO] running `Command { std: "docker" "start" "-a" "add5f61be07a05118002da58b45489b80a1fd9b97b3df8b222efe2670ad0d792", kill_on_drop: false }` [INFO] [stderr] Compiling oh2 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut headers = json_to_hashmap(&header_data); [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 `Config` is more private than the item `parse_config` [INFO] [stdout] --> src/cmd.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_config(config_file_path: &str) -> Config{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse_config` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Config` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cmd.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "add5f61be07a05118002da58b45489b80a1fd9b97b3df8b222efe2670ad0d792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add5f61be07a05118002da58b45489b80a1fd9b97b3df8b222efe2670ad0d792", kill_on_drop: false }` [INFO] [stdout] add5f61be07a05118002da58b45489b80a1fd9b97b3df8b222efe2670ad0d792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 58592b99e2194e0ff5b432d6ca1f7ae5a8580c11d2906e51197005e0ae141c2f [INFO] running `Command { std: "docker" "start" "-a" "58592b99e2194e0ff5b432d6ca1f7ae5a8580c11d2906e51197005e0ae141c2f", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cmd.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let mut headers = json_to_hashmap(&header_data); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type `Config` is more private than the item `parse_config` [INFO] [stderr] --> src/cmd.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn parse_config(config_file_path: &str) -> Config{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse_config` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `Config` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/cmd.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | struct Config { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `oh2` (bin "oh" test) generated 2 warnings (run `cargo fix --bin "oh" -p oh2 --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/oh.rs (/opt/rustwide/target/debug/deps/oh-0aad6a5cd4315dee) [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] running `Command { std: "docker" "inspect" "58592b99e2194e0ff5b432d6ca1f7ae5a8580c11d2906e51197005e0ae141c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58592b99e2194e0ff5b432d6ca1f7ae5a8580c11d2906e51197005e0ae141c2f", kill_on_drop: false }` [INFO] [stdout] 58592b99e2194e0ff5b432d6ca1f7ae5a8580c11d2906e51197005e0ae141c2f