[INFO] cloning repository https://github.com/s3rius/rustus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s3rius/rustus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs3rius%2Frustus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs3rius%2Frustus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f40d28963995f8a08f52a3458c8c3a0834bf60fd [INFO] checking s3rius/rustus against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs3rius%2Frustus" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/s3rius/rustus on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/s3rius/rustus [INFO] finished tweaking git repo https://github.com/s3rius/rustus [INFO] tweaked toml for git repo https://github.com/s3rius/rustus written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/s3rius/rustus 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c227a2c8111d8c287ef84b59a66dca2a49e5a7218bb9de753556b01848c8f3e5 [INFO] running `Command { std: "docker" "start" "-a" "c227a2c8111d8c287ef84b59a66dca2a49e5a7218bb9de753556b01848c8f3e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c227a2c8111d8c287ef84b59a66dca2a49e5a7218bb9de753556b01848c8f3e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c227a2c8111d8c287ef84b59a66dca2a49e5a7218bb9de753556b01848c8f3e5", kill_on_drop: false }` [INFO] [stdout] c227a2c8111d8c287ef84b59a66dca2a49e5a7218bb9de753556b01848c8f3e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be0c80b80e3a5ae83531e4e9cf3cb758ce6f54e291e66006dcf390588a1f87d2 [INFO] running `Command { std: "docker" "start" "-a" "be0c80b80e3a5ae83531e4e9cf3cb758ce6f54e291e66006dcf390588a1f87d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.52 [INFO] [stderr] Compiling quote v1.0.25 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.155 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling serde v1.0.155 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking futures-sink v0.3.27 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling futures-channel v0.3.27 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-io v0.3.27 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking unicode-bidi v0.3.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Compiling zstd-safe v6.0.4+zstd.1.5.4 [INFO] [stderr] Checking local-waker v0.1.3 [INFO] [stderr] Checking indexmap v1.9.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl-src v111.25.1+1.1.1t [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.6 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling rustix v0.36.9 [INFO] [stderr] Compiling async-trait v0.1.66 [INFO] [stderr] Checking smartstring v0.2.10 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling sentry-contexts v0.30.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.30 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking rxml_validation v0.8.2 [INFO] [stderr] Checking ipnet v2.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking clap_lex v0.3.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking fern v0.6.1 [INFO] [stderr] Checking crossbeam-channel v0.5.7 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking dyn-clone v1.0.11 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking is-terminal v0.4.4 [INFO] [stderr] Checking mimalloc v0.1.34 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Checking dotenvy v0.15.6 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.27 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling clap_derive v4.1.8 [INFO] [stderr] Compiling maybe-async v0.2.7 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking aws-region v0.25.1 [INFO] [stderr] Checking zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking clap v4.1.8 [INFO] [stderr] Checking local-channel v0.1.3 [INFO] [stderr] Checking futures-executor v0.3.27 [INFO] [stderr] Checking futures v0.3.27 [INFO] [stderr] Checking tokio-util v0.7.7 [INFO] [stderr] Checking actix-rt v2.8.0 [INFO] [stderr] Checking rxml v0.8.2 [INFO] [stderr] Checking tokio-stream v0.1.12 [INFO] [stderr] Checking bb8 v0.8.0 [INFO] [stderr] Checking actix-server v2.2.0 [INFO] [stderr] Checking h2 v0.3.16 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Checking minidom v0.15.1 [INFO] [stderr] Checking serde_json v1.0.94 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking time v0.3.20 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.3.0 [INFO] [stderr] Checking serde-xml-rs v0.5.1 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking sentry-types v0.30.0 [INFO] [stderr] Checking actix-http v3.3.1 [INFO] [stderr] Checking hyper v0.14.25 [INFO] [stderr] Checking sentry-core v0.30.0 [INFO] [stderr] Checking sentry-backtrace v0.30.0 [INFO] [stderr] Checking sentry-panic v0.30.0 [INFO] [stderr] Checking sentry-debug-images v0.30.0 [INFO] [stderr] Checking actix-web v4.3.1 [INFO] [stderr] Checking httptest v0.15.4 [INFO] [stderr] Checking actix-cors v0.6.4 [INFO] [stderr] Checking sentry-actix v0.30.0 [INFO] [stderr] Checking actix-web-prom v0.6.0 [INFO] [stderr] Checking actix-files v0.6.2 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking attohttpc v0.19.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.14 [INFO] [stderr] Checking aws-creds v0.30.0 [INFO] [stderr] Checking rust-s3 v0.32.3 [INFO] [stderr] Checking sentry v0.30.0 [INFO] [stderr] Checking rustus v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/protocol/core/server_info.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | .unwrap() [INFO] [stdout] | ______________________^ [INFO] [stdout] 50 | | .clone(); [INFO] [stdout] | |____________________^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustus` (bin "rustus" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "be0c80b80e3a5ae83531e4e9cf3cb758ce6f54e291e66006dcf390588a1f87d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0c80b80e3a5ae83531e4e9cf3cb758ce6f54e291e66006dcf390588a1f87d2", kill_on_drop: false }` [INFO] [stdout] be0c80b80e3a5ae83531e4e9cf3cb758ce6f54e291e66006dcf390588a1f87d2