[INFO] cloning repository https://github.com/EgorKulikov/rust_algo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EgorKulikov/rust_algo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorKulikov%2Frust_algo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorKulikov%2Frust_algo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bf2c4b6989b6445a2a1a4721269ac3c66984c10 [INFO] checking EgorKulikov/rust_algo against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorKulikov%2Frust_algo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EgorKulikov/rust_algo 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/EgorKulikov/rust_algo [INFO] finished tweaking git repo https://github.com/EgorKulikov/rust_algo [INFO] tweaked toml for git repo https://github.com/EgorKulikov/rust_algo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EgorKulikov/rust_algo 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] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9649ed0ca654ea091bc9927d1a098b5253552f782488daca91e4de58eee83a60 [INFO] running `Command { std: "docker" "start" "-a" "9649ed0ca654ea091bc9927d1a098b5253552f782488daca91e4de58eee83a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9649ed0ca654ea091bc9927d1a098b5253552f782488daca91e4de58eee83a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9649ed0ca654ea091bc9927d1a098b5253552f782488daca91e4de58eee83a60", kill_on_drop: false }` [INFO] [stdout] 9649ed0ca654ea091bc9927d1a098b5253552f782488daca91e4de58eee83a60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3d1f3ec81698d307fe7d747f83e4f451539b93394f094951890537e465106d07 [INFO] running `Command { std: "docker" "start" "-a" "3d1f3ec81698d307fe7d747f83e4f451539b93394f094951890537e465106d07", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking algo_lib v0.1.0 (/opt/rustwide/workdir/algo_lib) [INFO] [stderr] Checking main v0.1.0 (/opt/rustwide/workdir/main) [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> algo_lib/src/collections/treap.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | Iter::new(self.borrow(), r) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `TreapNode
` does not implement `Borrow`, so calling `borrow` on `&TreapNode
` 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] warning: using `.deref()` on a double reference, which returns `&Vec ` does not implement `Borrow`, so calling `borrow` on `&TreapNode ` 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] warning: using `.deref()` on a double reference, which returns `&Vec