[INFO] cloning repository https://github.com/matrohin/gav [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matrohin/gav" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatrohin%2Fgav", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatrohin%2Fgav'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae0b116dd76d6b9dc24096e21bc99e6311d8a098 [INFO] testing matrohin/gav against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatrohin%2Fgav" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matrohin/gav [INFO] finished tweaking git repo https://github.com/matrohin/gav [INFO] tweaked toml for git repo https://github.com/matrohin/gav written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matrohin/gav on toolchain 33835004928d3bf65db4d4712e1330766263b0bd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matrohin/gav 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2218a24ffea417fa303f2600fc9f97c1c1a99488f2e3128bd1941581ca33dd62 [INFO] running `Command { std: "docker" "start" "-a" "2218a24ffea417fa303f2600fc9f97c1c1a99488f2e3128bd1941581ca33dd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2218a24ffea417fa303f2600fc9f97c1c1a99488f2e3128bd1941581ca33dd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2218a24ffea417fa303f2600fc9f97c1c1a99488f2e3128bd1941581ca33dd62", kill_on_drop: false }` [INFO] [stdout] 2218a24ffea417fa303f2600fc9f97c1c1a99488f2e3128bd1941581ca33dd62 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42ba9543087c867784ac7e162af132eacb0b41660e364521257b0099b41d7031 [INFO] running `Command { std: "docker" "start" "-a" "42ba9543087c867784ac7e162af132eacb0b41660e364521257b0099b41d7031", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling once_cell v1.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling minifb v0.19.1 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lyon_geom v0.15.3 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling font-kit v0.5.0 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling xcursor v0.3.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling sw-composite v0.7.14 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling raqote v0.7.14 [INFO] [stderr] Compiling wayland-commons v0.27.0 [INFO] [stderr] Compiling wayland-cursor v0.27.0 [INFO] [stderr] Compiling gav v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/algos/shamos_hoey.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | for (seg1, seg2) in found { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 217 - for (seg1, seg2) in found { [INFO] [stdout] 217 + while let Some((seg1, seg2)) = found { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 217 - for (seg1, seg2) in found { [INFO] [stdout] 217 + if let Some((seg1, seg2)) = found { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "42ba9543087c867784ac7e162af132eacb0b41660e364521257b0099b41d7031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ba9543087c867784ac7e162af132eacb0b41660e364521257b0099b41d7031", kill_on_drop: false }` [INFO] [stdout] 42ba9543087c867784ac7e162af132eacb0b41660e364521257b0099b41d7031 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e7da2bb245504ac471fcc956c172076ec7bb72956f46553eb5c8ba4fd09e60c [INFO] running `Command { std: "docker" "start" "-a" "5e7da2bb245504ac471fcc956c172076ec7bb72956f46553eb5c8ba4fd09e60c", kill_on_drop: false }` [INFO] [stderr] Compiling gav v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/algos/shamos_hoey.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | for (seg1, seg2) in found { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 217 - for (seg1, seg2) in found { [INFO] [stdout] 217 + while let Some((seg1, seg2)) = found { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 217 - for (seg1, seg2) in found { [INFO] [stdout] 217 + if let Some((seg1, seg2)) = found { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5e7da2bb245504ac471fcc956c172076ec7bb72956f46553eb5c8ba4fd09e60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e7da2bb245504ac471fcc956c172076ec7bb72956f46553eb5c8ba4fd09e60c", kill_on_drop: false }` [INFO] [stdout] 5e7da2bb245504ac471fcc956c172076ec7bb72956f46553eb5c8ba4fd09e60c [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d7511a7ccfe6c71388015bcff1ae5d43f103e7dfc025995c9c74b9d7afed0b8 [INFO] running `Command { std: "docker" "start" "-a" "2d7511a7ccfe6c71388015bcff1ae5d43f103e7dfc025995c9c74b9d7afed0b8", kill_on_drop: false }` [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/algos/shamos_hoey.rs:217:37 [INFO] [stderr] | [INFO] [stderr] 217 | for (seg1, seg2) in found { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 217 - for (seg1, seg2) in found { [INFO] [stderr] 217 + while let Some((seg1, seg2)) = found { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 217 - for (seg1, seg2) in found { [INFO] [stderr] 217 + if let Some((seg1, seg2)) = found { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `gav` (bin "gav" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gav-93ace320bfccc2a2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test algos::graham::tests::graham_sorts_by_distance ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2d7511a7ccfe6c71388015bcff1ae5d43f103e7dfc025995c9c74b9d7afed0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d7511a7ccfe6c71388015bcff1ae5d43f103e7dfc025995c9c74b9d7afed0b8", kill_on_drop: false }` [INFO] [stdout] 2d7511a7ccfe6c71388015bcff1ae5d43f103e7dfc025995c9c74b9d7afed0b8