[INFO] fetching crate rust-mediamtx-http-api 0.0.8... [INFO] checking rust-mediamtx-http-api-0.0.8 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rust-mediamtx-http-api 0.0.8 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate rust-mediamtx-http-api 0.0.8 [INFO] finished tweaking crates.io crate rust-mediamtx-http-api 0.0.8 [INFO] tweaked toml for crates.io crate rust-mediamtx-http-api 0.0.8 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-mediamtx-http-api 0.0.8 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 205 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplerusthttpsclient v0.1.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86cc22ee66e9d3c6f022b8b57840c77c09d98276b822ef96b27e90ee0b2a49e0 [INFO] running `Command { std: "docker" "start" "-a" "86cc22ee66e9d3c6f022b8b57840c77c09d98276b822ef96b27e90ee0b2a49e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86cc22ee66e9d3c6f022b8b57840c77c09d98276b822ef96b27e90ee0b2a49e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86cc22ee66e9d3c6f022b8b57840c77c09d98276b822ef96b27e90ee0b2a49e0", kill_on_drop: false }` [INFO] [stdout] 86cc22ee66e9d3c6f022b8b57840c77c09d98276b822ef96b27e90ee0b2a49e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93f7a59c68d936148b82c55a8d68a166482c651a615db5a7b72e5b307ce151a8 [INFO] running `Command { std: "docker" "start" "-a" "93f7a59c68d936148b82c55a8d68a166482c651a615db5a7b72e5b307ce151a8", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking simplerusthttpsclient v0.1.25 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rust-mediamtx-http-api v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | let obj: structs::TMediaMTXGlobalConfig = self.client.get(url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TMediaMTXGlobalConfig`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `TMediaMTXGlobalConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | let obj: structs::TMediaMTXGlobalConfig = self.client.get(url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TMediaMTXGlobalConfig`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `TMediaMTXGlobalConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | let obj: structs::TMediaMTXGetDefaultPath = self.client.get(url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TMediaMTXGetDefaultPath`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `TMediaMTXGetDefaultPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | let obj: structs::TMediaMTXGetDefaultPath = self.client.get(url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TMediaMTXGetDefaultPath`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `TMediaMTXGetDefaultPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | let obj: structs::MediaMTXPathsConfigs = self.client.get(url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MediaMTXPathsConfigs`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `MediaMTXPathsConfigs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | let obj: structs::MediaMTXPathsConfigs = self.client.get(url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MediaMTXPathsConfigs`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `MediaMTXPathsConfigs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:67:53 [INFO] [stdout] | [INFO] [stdout] 67 | let obj: structs::TMediaMTXGetDefaultPath = self.client.get(&url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TMediaMTXGetDefaultPath`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `TMediaMTXGetDefaultPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:67:53 [INFO] [stdout] | [INFO] [stdout] 67 | let obj: structs::TMediaMTXGetDefaultPath = self.client.get(&url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TMediaMTXGetDefaultPath`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `TMediaMTXGetDefaultPath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:92:53 [INFO] [stdout] | [INFO] [stdout] 92 | let obj: structs::MediaMTXPathsStatusList = self.client.get(url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MediaMTXPathsStatusList`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `MediaMTXPathsStatusList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:92:53 [INFO] [stdout] | [INFO] [stdout] 92 | let obj: structs::MediaMTXPathsStatusList = self.client.get(url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MediaMTXPathsStatusList`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `MediaMTXPathsStatusList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | let obj: structs::MediaMTXPathStatus = self.client.get(&url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MediaMTXPathStatus`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `MediaMTXPathStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/lib.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | let obj: structs::MediaMTXPathStatus = self.client.get(&url, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MediaMTXPathStatus`, found `Response` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `reqwest::async_impl::response::Response` to `MediaMTXPathStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | if let Err(e) = get_path { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | if let Err(e) = get_path { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:28:70 [INFO] [stdout] | [INFO] [stdout] 28 | client: simplerusthttpsclient::HttpClient::new(base_url, default_headers), [INFO] [stdout] | -------------------------------------- ^^^^^^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `http` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-0.2.12/src/header/map.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct HeaderMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `HeaderMap` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/header/map.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct HeaderMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `http::header::map::HeaderMap` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::header::HeaderMap; [INFO] [stdout] | ------- one version of crate `http` used here, as a dependency of crate `reqwest` [INFO] [stdout] ... [INFO] [stdout] 9 | client: simplerusthttpsclient::HttpClient, [INFO] [stdout] | --------------------- one version of crate `http` used here, as a dependency of crate `reqwest` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/simplerusthttpsclient-0.1.25/src/lib.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(base_url: Url, default_headers: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:28:70 [INFO] [stdout] | [INFO] [stdout] 28 | client: simplerusthttpsclient::HttpClient::new(base_url, default_headers), [INFO] [stdout] | -------------------------------------- ^^^^^^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `http` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-0.2.12/src/header/map.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct HeaderMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `HeaderMap` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/header/map.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct HeaderMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `http::header::map::HeaderMap` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::header::HeaderMap; [INFO] [stdout] | ------- one version of crate `http` used here, as a dependency of crate `reqwest` [INFO] [stdout] ... [INFO] [stdout] 9 | client: simplerusthttpsclient::HttpClient, [INFO] [stdout] | --------------------- one version of crate `http` used here, as a dependency of crate `reqwest` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/simplerusthttpsclient-0.1.25/src/lib.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(base_url: Url, default_headers: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-mediamtx-http-api` (lib) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-mediamtx-http-api` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "93f7a59c68d936148b82c55a8d68a166482c651a615db5a7b72e5b307ce151a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f7a59c68d936148b82c55a8d68a166482c651a615db5a7b72e5b307ce151a8", kill_on_drop: false }` [INFO] [stdout] 93f7a59c68d936148b82c55a8d68a166482c651a615db5a7b72e5b307ce151a8