[INFO] cloning repository https://github.com/dulynoted/project_euler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dulynoted/project_euler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdulynoted%2Fproject_euler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdulynoted%2Fproject_euler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5eb02fafc2fda6db75a3a7227644e6ed993d099 [INFO] testing dulynoted/project_euler against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdulynoted%2Fproject_euler" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dulynoted/project_euler on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dulynoted/project_euler [INFO] finished tweaking git repo https://github.com/dulynoted/project_euler [INFO] tweaked toml for git repo https://github.com/dulynoted/project_euler written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/dulynoted/project_euler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 676f5208bc1472c0dd482585e52e4564b146e47017c259bd3d7a473d76b8742d [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" "676f5208bc1472c0dd482585e52e4564b146e47017c259bd3d7a473d76b8742d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "676f5208bc1472c0dd482585e52e4564b146e47017c259bd3d7a473d76b8742d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "676f5208bc1472c0dd482585e52e4564b146e47017c259bd3d7a473d76b8742d", kill_on_drop: false }` [INFO] [stdout] 676f5208bc1472c0dd482585e52e4564b146e47017c259bd3d7a473d76b8742d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3feb63549b8a00a818caa86abd71e6aecd41f01ba0d0ac45a0621db89a4739cb [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" "3feb63549b8a00a818caa86abd71e6aecd41f01ba0d0ac45a0621db89a4739cb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling primal-estimate v0.3.1 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling primal-bit v0.3.0 [INFO] [stderr] Compiling primal-sieve v0.3.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num-complex v0.3.0 [INFO] [stderr] Compiling primal-check v0.3.1 [INFO] [stderr] Compiling primal v0.3.0 [INFO] [stderr] Compiling num v0.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling project_euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num::pow` [INFO] [stdout] --> src/common.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num::pow; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 item 'time::PreciseTime': Use `Instant` [INFO] [stdout] --> src/main.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stdout] --> src/main.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | let mut end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stdout] --> src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | start = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stdout] --> src/main.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | end = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::Instant::to': Use `rhs - lhs` [INFO] [stdout] --> src/main.rs:21:66 [INFO] [stdout] | [INFO] [stdout] 21 | println!("Erasnothenes: {}, {} seconds.",seive[10000], start.to(end)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 21 | println!("Erasnothenes: {}, {} seconds.",seive[10000], start.to(end)); [INFO] [stdout] | ^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::Instant::to': Use `rhs - lhs` [INFO] [stdout] --> src/main.rs:26:82 [INFO] [stdout] | [INFO] [stdout] 26 | println!("simple bitarray Erasnothenes: {}, {} seconds.",seive[10000], start.to(end)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:26:76 [INFO] [stdout] | [INFO] [stdout] 26 | println!("simple bitarray Erasnothenes: {}, {} seconds.",seive[10000], start.to(end)); [INFO] [stdout] | ^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::Instant::to': Use `rhs - lhs` [INFO] [stdout] --> src/main.rs:33:76 [INFO] [stdout] | [INFO] [stdout] 33 | println!("Primal: {} primes below 3000000 in {} seconds.",count, start.to(end)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:33:70 [INFO] [stdout] | [INFO] [stdout] 33 | println!("Primal: {} primes below 3000000 in {} seconds.",count, start.to(end)); [INFO] [stdout] | ^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'time::Instant::to': Use `rhs - lhs` [INFO] [stdout] --> src/main.rs:38:83 [INFO] [stdout] | [INFO] [stdout] 38 | println!("stolen Segmented Erasnothenes: {}, {} seconds.",seive[10000], start.to(end)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | println!("stolen Segmented Erasnothenes: {}, {} seconds.",seive[10000], start.to(end)); [INFO] [stdout] | ^^^^^^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `project_euler`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3feb63549b8a00a818caa86abd71e6aecd41f01ba0d0ac45a0621db89a4739cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3feb63549b8a00a818caa86abd71e6aecd41f01ba0d0ac45a0621db89a4739cb", kill_on_drop: false }` [INFO] [stdout] 3feb63549b8a00a818caa86abd71e6aecd41f01ba0d0ac45a0621db89a4739cb