[INFO] cloning repository https://github.com/kinodjnz/cp-snippet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kinodjnz/cp-snippet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinodjnz%2Fcp-snippet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinodjnz%2Fcp-snippet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b2991f1909a0aa4712f7b56a0615781fc7433da3
[INFO] checking kinodjnz/cp-snippet/b2991f1909a0aa4712f7b56a0615781fc7433da3 against 018018e881e2db0956f229dbb543e21f058d1ce7 for pr-162597
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinodjnz%2Fcp-snippet" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kinodjnz/cp-snippet
[INFO] finished tweaking git repo https://github.com/kinodjnz/cp-snippet
[INFO] tweaked toml for git repo https://github.com/kinodjnz/cp-snippet written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kinodjnz/cp-snippet on toolchain 018018e881e2db0956f229dbb543e21f058d1ce7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+018018e881e2db0956f229dbb543e21f058d1ce7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kinodjnz/cp-snippet 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" "+018018e881e2db0956f229dbb543e21f058d1ce7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cargo-snippet v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1622cd82093c447135ba1a28b4228eb0ba2f863114a2139953f303880aa073e3
[INFO] running `Command { std: "docker" "start" "1622cd82093c447135ba1a28b4228eb0ba2f863114a2139953f303880aa073e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1622cd82093c447135ba1a28b4228eb0ba2f863114a2139953f303880aa073e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1622cd82093c447135ba1a28b4228eb0ba2f863114a2139953f303880aa073e3" "/opt/rustwide/cargo-home/bin/cargo" "+018018e881e2db0956f229dbb543e21f058d1ce7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1622cd82093c447135ba1a28b4228eb0ba2f863114a2139953f303880aa073e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1622cd82093c447135ba1a28b4228eb0ba2f863114a2139953f303880aa073e3" "/opt/rustwide/cargo-home/bin/cargo" "+018018e881e2db0956f229dbb543e21f058d1ce7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cargo-snippet v0.5.1
[INFO] [stderr]     Checking cp-snippet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/wrapping_add_signed.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::usize;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/wrapping_add_signed.rs:45:58
[INFO] [stdout]    |
[INFO] [stdout] 45 |     assert_eq!((0 as usize).wrapping_add_i32(-1), usize::MAX);
[INFO] [stdout]    |                                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/wrapping_add_signed.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |     assert_eq!(usize::MAX.wrapping_add_i32(1), 0);
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/wrapping_add_signed.rs:51:58
[INFO] [stdout]    |
[INFO] [stdout] 51 |     assert_eq!((0 as usize).wrapping_add_i64(-1), usize::MAX);
[INFO] [stdout]    |                                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/wrapping_add_signed.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 |     assert_eq!(usize::MAX.wrapping_add_i64(1 as i64), 0);
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/wrapping_add_signed.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::usize;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `GFOps` is never used
[INFO] [stdout]  --> src/gf.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait GFOps<T> {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `GFn` is never used
[INFO] [stdout]   --> src/gf.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | trait GFn<T>: GFOps<T> + From<T> + Into<T> {
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GFp` is never constructed
[INFO] [stdout]    --> src/gf.rs:164:5
[INFO] [stdout]     |
[INFO] [stdout] 164 | GF!(GFp, 1000000007, i64);
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `GF` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WrappingAddSigned` is never used
[INFO] [stdout]   --> src/wrapping_add_signed.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |         trait WrappingAddSigned {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 | wrapping_add_signed!();
[INFO] [stdout]    | ---------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `wrapping_add_signed` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/integer_indexed_vec.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T> IntegerIndexedVec<T> {
[INFO] [stdout]    | ---------------------------- associated function in this implementation
[INFO] [stdout] 12 |     fn new(v: Vec<T>, offset: usize) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IntoIntegerIndexedVec` is never used
[INFO] [stdout]   --> src/integer_indexed_vec.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 | trait IntoIntegerIndexedVec {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/integer_indexed_vec.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn iter(&self) -> std::slice::Iter<T> {
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn iter(&self) -> std::slice::Iter<'_, T> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/integer_indexed_vec.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn iter(&self) -> std::slice::Iter<T> {
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn iter(&self) -> std::slice::Iter<'_, T> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.79s
[INFO] running `Command { std: "docker" "inspect" "1622cd82093c447135ba1a28b4228eb0ba2f863114a2139953f303880aa073e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1622cd82093c447135ba1a28b4228eb0ba2f863114a2139953f303880aa073e3", kill_on_drop: false }`
[INFO] [stdout] 1622cd82093c447135ba1a28b4228eb0ba2f863114a2139953f303880aa073e3
