[INFO] cloning repository https://github.com/milliams/square-sum [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/milliams/square-sum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilliams%2Fsquare-sum"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilliams%2Fsquare-sum'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] addfe622ba5d301ef93f7ae19d0104368bd1681e [INFO] checking milliams/square-sum against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilliams%2Fsquare-sum" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/milliams/square-sum on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/milliams/square-sum [INFO] finished tweaking git repo https://github.com/milliams/square-sum [INFO] tweaked toml for git repo https://github.com/milliams/square-sum written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/milliams/square-sum already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c19935c76f989028efe1ff7091bca9cd2f5d0798e2c894da3bdc80d2b3af9e00 [INFO] running `"docker" "start" "-a" "c19935c76f989028efe1ff7091bca9cd2f5d0798e2c894da3bdc80d2b3af9e00"` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling time v0.2.13 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking square-sum v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use time::PreciseTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stderr] --> src/main.rs:42:22 [INFO] [stderr] | [INFO] [stderr] 42 | let start_time = PreciseTime::now(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stderr] --> src/main.rs:98:20 [INFO] [stderr] | [INFO] [stderr] 98 | let end_time = PreciseTime::now(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::Instant::to': Use `rhs - lhs` [INFO] [stderr] --> src/main.rs:99:40 [INFO] [stderr] | [INFO] [stderr] 99 | println!("{} seconds.", start_time.to(end_time).num_seconds()); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use time::PreciseTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stderr] --> src/main.rs:42:22 [INFO] [stderr] | [INFO] [stderr] 42 | let start_time = PreciseTime::now(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::Duration::num_seconds': Use the `whole_seconds` function [INFO] [stderr] --> src/main.rs:99:53 [INFO] [stderr] | [INFO] [stderr] 99 | println!("{} seconds.", start_time.to(end_time).num_seconds()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stderr] --> src/main.rs:98:20 [INFO] [stderr] | [INFO] [stderr] 98 | let end_time = PreciseTime::now(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::Instant::to': Use `rhs - lhs` [INFO] [stderr] --> src/main.rs:99:40 [INFO] [stderr] | [INFO] [stderr] 99 | println!("{} seconds.", start_time.to(end_time).num_seconds()); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::Duration::num_seconds': Use the `whole_seconds` function [INFO] [stderr] --> src/main.rs:99:53 [INFO] [stderr] | [INFO] [stderr] 99 | println!("{} seconds.", start_time.to(end_time).num_seconds()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_sum_squares` [INFO] [stderr] --> src/main.rs:362:4 [INFO] [stderr] | [INFO] [stderr] 362 | fn check_sum_squares(vals: &[usize]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_sum_squares` [INFO] [stderr] --> src/main.rs:362:4 [INFO] [stderr] | [INFO] [stderr] 362 | fn check_sum_squares(vals: &[usize]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.30s [INFO] running `"docker" "inspect" "c19935c76f989028efe1ff7091bca9cd2f5d0798e2c894da3bdc80d2b3af9e00"` [INFO] running `"docker" "rm" "-f" "c19935c76f989028efe1ff7091bca9cd2f5d0798e2c894da3bdc80d2b3af9e00"` [INFO] [stdout] c19935c76f989028efe1ff7091bca9cd2f5d0798e2c894da3bdc80d2b3af9e00