[INFO] cloning repository https://github.com/phated/ua-detect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phated/ua-detect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphated%2Fua-detect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphated%2Fua-detect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8ab5ccb767f68141d39674d4b4fc80046791b7a [INFO] checking phated/ua-detect against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphated%2Fua-detect" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phated/ua-detect [INFO] finished tweaking git repo https://github.com/phated/ua-detect [INFO] tweaked toml for git repo https://github.com/phated/ua-detect written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phated/ua-detect on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phated/ua-detect 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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: workspace.package.name [INFO] [stderr] warning: workspace (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 34a07f75bb0c8485369d5eddb3fe1fcbae5a4db77846ad5fa18087f0bfa460c6 [INFO] running `Command { std: "docker" "start" "34a07f75bb0c8485369d5eddb3fe1fcbae5a4db77846ad5fa18087f0bfa460c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34a07f75bb0c8485369d5eddb3fe1fcbae5a4db77846ad5fa18087f0bfa460c6" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34a07f75bb0c8485369d5eddb3fe1fcbae5a4db77846ad5fa18087f0bfa460c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34a07f75bb0c8485369d5eddb3fe1fcbae5a4db77846ad5fa18087f0bfa460c6" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: workspace.package.name [INFO] [stderr] warning: workspace (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling rustix v0.38.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde v1.0.187 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking matchit v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking clap_builder v4.4.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking simplerand v1.3.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Checking clap v4.4.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking fakeit v1.1.2 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling serde_derive v1.0.187 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Checking uaparser v0.6.1 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Compiling ua-detect-validate v0.0.0 (/opt/rustwide/workdir/crates/validate) [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Checking ua-detect-client v0.0.0 (/opt/rustwide/workdir/crates/client) [INFO] [stderr] Checking ua-detect-server v0.0.0 (/opt/rustwide/workdir/crates/server) [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/client/src/main.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | user_agent: user_agent.clone().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/client/src/main.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | user_agent: user_agent.clone().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ua-detect-client` (bin "ua-detect-client") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ua-detect-client` (bin "ua-detect-client" test) due to 1 previous error [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/server/src/main.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | user_agent: ua.into(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/server/src/main.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | user_agent: ua.into(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/server/src/main.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | user_agent: ua.into(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> crates/server/src/main.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | user_agent: ua.into(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ua-detect-server` (bin "ua-detect-server" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "34a07f75bb0c8485369d5eddb3fe1fcbae5a4db77846ad5fa18087f0bfa460c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34a07f75bb0c8485369d5eddb3fe1fcbae5a4db77846ad5fa18087f0bfa460c6", kill_on_drop: false }` [INFO] [stdout] 34a07f75bb0c8485369d5eddb3fe1fcbae5a4db77846ad5fa18087f0bfa460c6