[INFO] fetching crate shortkut 0.1.0... [INFO] testing shortkut-0.1.0 against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] extracting crate shortkut 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate shortkut 0.1.0 on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shortkut 0.1.0 [INFO] finished tweaking crates.io crate shortkut 0.1.0 [INFO] tweaked toml for crates.io crate shortkut 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate shortkut 0.1.0 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minimad v0.8.0 [INFO] [stderr] Downloaded minreq v2.4.2 [INFO] [stderr] Downloaded termimad v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19b76baa9b938208adfb716a1071c2d8f2b3ab42efd57ccbd3884b87c6443316 [INFO] running `Command { std: "docker" "start" "-a" "19b76baa9b938208adfb716a1071c2d8f2b3ab42efd57ccbd3884b87c6443316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19b76baa9b938208adfb716a1071c2d8f2b3ab42efd57ccbd3884b87c6443316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b76baa9b938208adfb716a1071c2d8f2b3ab42efd57ccbd3884b87c6443316", kill_on_drop: false }` [INFO] [stdout] 19b76baa9b938208adfb716a1071c2d8f2b3ab42efd57ccbd3884b87c6443316 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b116cfb51393b1813aa3125c19edb26e5580e6b4d3665b60c77a30683794172 [INFO] running `Command { std: "docker" "start" "-a" "9b116cfb51393b1813aa3125c19edb26e5580e6b4d3665b60c77a30683794172", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling minreq v2.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling minimad v0.8.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling termimad v0.11.1 [INFO] [stderr] Compiling shortkut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&str` instead of cloning the inner type [INFO] [stdout] --> src/commands/search.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | if res.clone() == approx_string.as_str() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.87s [INFO] running `Command { std: "docker" "inspect" "9b116cfb51393b1813aa3125c19edb26e5580e6b4d3665b60c77a30683794172", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b116cfb51393b1813aa3125c19edb26e5580e6b4d3665b60c77a30683794172", kill_on_drop: false }` [INFO] [stdout] 9b116cfb51393b1813aa3125c19edb26e5580e6b4d3665b60c77a30683794172 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdae93da26b6d741314187b8442dd6ba2cd0651b92c8b8ff816f9bf711c38544 [INFO] running `Command { std: "docker" "start" "-a" "fdae93da26b6d741314187b8442dd6ba2cd0651b92c8b8ff816f9bf711c38544", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling shortkut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&&str` instead of cloning the inner type [INFO] [stdout] --> src/commands/search.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | if res.clone() == approx_string.as_str() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "fdae93da26b6d741314187b8442dd6ba2cd0651b92c8b8ff816f9bf711c38544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdae93da26b6d741314187b8442dd6ba2cd0651b92c8b8ff816f9bf711c38544", kill_on_drop: false }` [INFO] [stdout] fdae93da26b6d741314187b8442dd6ba2cd0651b92c8b8ff816f9bf711c38544 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31d68948c9dfed4075b687d602db343d3afade433bd2d6256b9a9d78edae13c1 [INFO] running `Command { std: "docker" "start" "-a" "31d68948c9dfed4075b687d602db343d3afade433bd2d6256b9a9d78edae13c1", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&&str` instead of cloning the inner type [INFO] [stderr] --> src/commands/search.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | if res.clone() == approx_string.as_str() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `shortkut` (bin "shortkut" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shortkut-5e5e471c629bcd55) [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" "31d68948c9dfed4075b687d602db343d3afade433bd2d6256b9a9d78edae13c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d68948c9dfed4075b687d602db343d3afade433bd2d6256b9a9d78edae13c1", kill_on_drop: false }` [INFO] [stdout] 31d68948c9dfed4075b687d602db343d3afade433bd2d6256b9a9d78edae13c1