[INFO] cloning repository https://github.com/jcamposforner/sorted-vec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcamposforner/sorted-vec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcamposforner%2Fsorted-vec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcamposforner%2Fsorted-vec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b38aea75a9448c5c209a6a5e9186a83650999c36 [INFO] checking jcamposforner/sorted-vec against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcamposforner%2Fsorted-vec" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jcamposforner/sorted-vec [INFO] finished tweaking git repo https://github.com/jcamposforner/sorted-vec [INFO] tweaked toml for git repo https://github.com/jcamposforner/sorted-vec written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jcamposforner/sorted-vec on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jcamposforner/sorted-vec 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd88a98edb0e1bc691e005af182fddf86c56a71e9f816b6b2b6befb329308167 [INFO] running `Command { std: "docker" "start" "-a" "bd88a98edb0e1bc691e005af182fddf86c56a71e9f816b6b2b6befb329308167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd88a98edb0e1bc691e005af182fddf86c56a71e9f816b6b2b6befb329308167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd88a98edb0e1bc691e005af182fddf86c56a71e9f816b6b2b6befb329308167", kill_on_drop: false }` [INFO] [stdout] bd88a98edb0e1bc691e005af182fddf86c56a71e9f816b6b2b6befb329308167 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf7f080abab4604c267e4551df7592e8c027865e38c1999b88f7a83e838cba34 [INFO] running `Command { std: "docker" "start" "-a" "bf7f080abab4604c267e4551df7592e8c027865e38c1999b88f7a83e838cba34", kill_on_drop: false }` [INFO] [stderr] Checking sorted-vec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sorted_vec.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn iter(&self) -> SortedVecIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn iter(&self) -> SortedVecIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/bucket.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Bucket { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn insert(&mut self, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sorted_vec.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn iter(&self) -> SortedVecIter { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn iter(&self) -> SortedVecIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `origin`, and `destination` are never read [INFO] [stdout] --> examples/cheap-flights.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Flight { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "bf7f080abab4604c267e4551df7592e8c027865e38c1999b88f7a83e838cba34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf7f080abab4604c267e4551df7592e8c027865e38c1999b88f7a83e838cba34", kill_on_drop: false }` [INFO] [stdout] bf7f080abab4604c267e4551df7592e8c027865e38c1999b88f7a83e838cba34