[INFO] cloning repository https://github.com/milliams/square-sum [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilliams%2Fsquare-sum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] addfe622ba5d301ef93f7ae19d0104368bd1681e [INFO] checking milliams/square-sum against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilliams%2Fsquare-sum" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/milliams/square-sum on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/milliams/square-sum already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a51ab07c620598a6fcf9d326d5fa3e3b8e50e28584a0f94831259157b609e268 [INFO] running `Command { std: "docker" "start" "-a" "a51ab07c620598a6fcf9d326d5fa3e3b8e50e28584a0f94831259157b609e268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a51ab07c620598a6fcf9d326d5fa3e3b8e50e28584a0f94831259157b609e268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a51ab07c620598a6fcf9d326d5fa3e3b8e50e28584a0f94831259157b609e268", kill_on_drop: false }` [INFO] [stdout] a51ab07c620598a6fcf9d326d5fa3e3b8e50e28584a0f94831259157b609e268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c153e42350ec123d97d54a8659259fa1562084402d9fe89816f1685d7b1cb381 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c153e42350ec123d97d54a8659259fa1562084402d9fe89816f1685d7b1cb381", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking square-sum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let start_time = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let end_time = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/main.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | println!("{} seconds.", start_time.to(end_time).num_seconds()); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/main.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | println!("{} seconds.", start_time.to(end_time).num_seconds()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let start_time = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let end_time = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/main.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | println!("{} seconds.", start_time.to(end_time).num_seconds()); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/main.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | println!("{} seconds.", start_time.to(end_time).num_seconds()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_sum_squares` [INFO] [stdout] --> src/main.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn check_sum_squares(vals: &[usize]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_sum_squares` [INFO] [stdout] --> src/main.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn check_sum_squares(vals: &[usize]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.65s [INFO] running `Command { std: "docker" "inspect" "c153e42350ec123d97d54a8659259fa1562084402d9fe89816f1685d7b1cb381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c153e42350ec123d97d54a8659259fa1562084402d9fe89816f1685d7b1cb381", kill_on_drop: false }` [INFO] [stdout] c153e42350ec123d97d54a8659259fa1562084402d9fe89816f1685d7b1cb381