[INFO] cloning repository https://github.com/anthonynguyen/primitive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anthonynguyen/primitive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonynguyen%2Fprimitive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonynguyen%2Fprimitive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12110da00942d58a2cd10fee8d9d28de79af46d0 [INFO] testing anthonynguyen/primitive against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonynguyen%2Fprimitive" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anthonynguyen/primitive on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anthonynguyen/primitive [INFO] finished tweaking git repo https://github.com/anthonynguyen/primitive [INFO] tweaked toml for git repo https://github.com/anthonynguyen/primitive written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/anthonynguyen/primitive already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d2e3a24289ee17660381d5b6b4675a4d7ec757b1cd2cb5aa3dbb27206841557 [INFO] running `Command { std: "docker" "start" "-a" "0d2e3a24289ee17660381d5b6b4675a4d7ec757b1cd2cb5aa3dbb27206841557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d2e3a24289ee17660381d5b6b4675a4d7ec757b1cd2cb5aa3dbb27206841557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2e3a24289ee17660381d5b6b4675a4d7ec757b1cd2cb5aa3dbb27206841557", kill_on_drop: false }` [INFO] [stdout] 0d2e3a24289ee17660381d5b6b4675a4d7ec757b1cd2cb5aa3dbb27206841557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14b9ae43119410d63030eb59c5e763aaf3e6fe58363442ab0240811b78d7f942 [INFO] running `Command { std: "docker" "start" "-a" "14b9ae43119410d63030eb59c5e763aaf3e6fe58363442ab0240811b78d7f942", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling scopeguard v0.3.2 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling either v1.2.0 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling futures v0.1.16 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling inflate v0.3.3 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling isatty v0.1.5 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling textwrap v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num-rational v0.1.39 [INFO] [stderr] Compiling clap v2.26.2 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling png v0.10.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling loglog v0.3.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling image v0.16.0 [INFO] [stderr] Compiling primitive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Image(::image::ImageError); [INFO] [stdout] 4 | | Io(::std::io::Error); [INFO] [stdout] 5 | | ParseInt(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Image(::image::ImageError); [INFO] [stdout] 4 | | Io(::std::io::Error); [INFO] [stdout] 5 | | ParseInt(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `euclidean` [INFO] [stdout] --> src/distance.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn euclidean>(p1: &P, p2: &P) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rect` [INFO] [stdout] --> src/generator.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn rect(&mut self, len: u32) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.03s [INFO] running `Command { std: "docker" "inspect" "14b9ae43119410d63030eb59c5e763aaf3e6fe58363442ab0240811b78d7f942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14b9ae43119410d63030eb59c5e763aaf3e6fe58363442ab0240811b78d7f942", kill_on_drop: false }` [INFO] [stdout] 14b9ae43119410d63030eb59c5e763aaf3e6fe58363442ab0240811b78d7f942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05abb28eff9ec2d7895a32a2096511f17dcb252af775bf512b8d74572701a3ce [INFO] running `Command { std: "docker" "start" "-a" "05abb28eff9ec2d7895a32a2096511f17dcb252af775bf512b8d74572701a3ce", kill_on_drop: false }` [INFO] [stderr] Compiling primitive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Image(::image::ImageError); [INFO] [stdout] 4 | | Io(::std::io::Error); [INFO] [stdout] 5 | | ParseInt(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain!{ [INFO] [stdout] 2 | | foreign_links { [INFO] [stdout] 3 | | Image(::image::ImageError); [INFO] [stdout] 4 | | Io(::std::io::Error); [INFO] [stdout] 5 | | ParseInt(::std::num::ParseIntError); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `euclidean` [INFO] [stdout] --> src/distance.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn euclidean>(p1: &P, p2: &P) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rect` [INFO] [stdout] --> src/generator.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn rect(&mut self, len: u32) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "05abb28eff9ec2d7895a32a2096511f17dcb252af775bf512b8d74572701a3ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05abb28eff9ec2d7895a32a2096511f17dcb252af775bf512b8d74572701a3ce", kill_on_drop: false }` [INFO] [stdout] 05abb28eff9ec2d7895a32a2096511f17dcb252af775bf512b8d74572701a3ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 420232c7dc7d4a054caa79d7995fdc5a8200715ebf480f138cf60bfa1e8c1348 [INFO] running `Command { std: "docker" "start" "-a" "420232c7dc7d4a054caa79d7995fdc5a8200715ebf480f138cf60bfa1e8c1348", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_chain!{ [INFO] [stderr] 2 | | foreign_links { [INFO] [stderr] 3 | | Image(::image::ImageError); [INFO] [stderr] 4 | | Io(::std::io::Error); [INFO] [stderr] 5 | | ParseInt(::std::num::ParseIntError); [INFO] [stderr] 6 | | } [INFO] [stderr] 7 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / error_chain!{ [INFO] [stderr] 2 | | foreign_links { [INFO] [stderr] 3 | | Image(::image::ImageError); [INFO] [stderr] 4 | | Io(::std::io::Error); [INFO] [stderr] 5 | | ParseInt(::std::num::ParseIntError); [INFO] [stderr] 6 | | } [INFO] [stderr] 7 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `euclidean` [INFO] [stderr] --> src/distance.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn euclidean>(p1: &P, p2: &P) -> u32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rect` [INFO] [stderr] --> src/generator.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn rect(&mut self, len: u32) -> Vec<(u32, u32)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `primitive` (bin "primitive" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/primitive-33fa27ccdbeb7162) [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" "420232c7dc7d4a054caa79d7995fdc5a8200715ebf480f138cf60bfa1e8c1348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420232c7dc7d4a054caa79d7995fdc5a8200715ebf480f138cf60bfa1e8c1348", kill_on_drop: false }` [INFO] [stdout] 420232c7dc7d4a054caa79d7995fdc5a8200715ebf480f138cf60bfa1e8c1348