[INFO] updating cached repository https://github.com/orlov-vo/rust-habr261201 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0b8c1b60a9ff78430201d743dbe4ca6f33526411 [INFO] testing orlov-vo/rust-habr261201 against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forlov-vo%2Frust-habr261201" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orlov-vo/rust-habr261201 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/orlov-vo/rust-habr261201 [INFO] finished tweaking git repo https://github.com/orlov-vo/rust-habr261201 [INFO] tweaked toml for git repo https://github.com/orlov-vo/rust-habr261201 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/orlov-vo/rust-habr261201 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6b6c38c226817164bc80c243416c3f94f0b12be4a5bb28283b3c6069b2bcc027 [INFO] running `"docker" "start" "-a" "6b6c38c226817164bc80c243416c3f94f0b12be4a5bb28283b3c6069b2bcc027"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling rust-habr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | 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:186:17 [INFO] [stderr] | [INFO] [stderr] 186 | let start = PreciseTime::now(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::PreciseTime': Use `Instant` [INFO] [stderr] --> src/main.rs:198:29 [INFO] [stderr] | [INFO] [stderr] 198 | let duration = start.to(PreciseTime::now()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::Instant::to': Use `rhs - lhs` [INFO] [stderr] --> src/main.rs:198:26 [INFO] [stderr] | [INFO] [stderr] 198 | let duration = start.to(PreciseTime::now()); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: `time::Duration` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:199:31 [INFO] [stderr] | [INFO] [stderr] 199 | println!("work time: {}", duration); [INFO] [stderr] | ^^^^^^^^ `time::Duration` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `time::Duration` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `rust-habr`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6b6c38c226817164bc80c243416c3f94f0b12be4a5bb28283b3c6069b2bcc027"` [INFO] running `"docker" "rm" "-f" "6b6c38c226817164bc80c243416c3f94f0b12be4a5bb28283b3c6069b2bcc027"` [INFO] [stdout] 6b6c38c226817164bc80c243416c3f94f0b12be4a5bb28283b3c6069b2bcc027