[INFO] crate time2 0.2.0 is already in cache [INFO] checking time2-0.2.0 against try#8a749131e7beb72f6edacefd2bdcbed3d67b2112 for pr-72331 [INFO] extracting crate time2 0.2.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate time2 0.2.0 on toolchain 8a749131e7beb72f6edacefd2bdcbed3d67b2112 [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate time2 0.2.0 [INFO] finished tweaking crates.io crate time2 0.2.0 [INFO] tweaked toml for crates.io crate time2 0.2.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7767804f89604ca74d9fbae9463881cb6af4cd4b83ef4393034c562f5a675bac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "7767804f89604ca74d9fbae9463881cb6af4cd4b83ef4393034c562f5a675bac"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking time2 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.2.27 [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/duration.rs:143:58 [INFO] [stderr] | [INFO] [stderr] 143 | Duration::from_millis(millis).as_millis() == Some(millis) [INFO] [stderr] | ^^^^^^^^^^^^ expected `u128`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u128` [INFO] [stderr] found enum `std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/duration.rs:149:17 [INFO] [stderr] | [INFO] [stderr] 148 | let millis = match dur.as_millis() { [INFO] [stderr] | --------------- this expression has type `u128` [INFO] [stderr] 149 | Some(millis) => millis, [INFO] [stderr] | ^^^^^^^^^^^^ expected `u128`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u128` [INFO] [stderr] found enum `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/duration.rs:150:17 [INFO] [stderr] | [INFO] [stderr] 148 | let millis = match dur.as_millis() { [INFO] [stderr] | --------------- this expression has type `u128` [INFO] [stderr] 149 | Some(millis) => millis, [INFO] [stderr] 150 | None => return TestResult::discard(), [INFO] [stderr] | ^^^^ expected `u128`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `u128` [INFO] [stderr] found enum `std::option::Option<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `time2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7767804f89604ca74d9fbae9463881cb6af4cd4b83ef4393034c562f5a675bac"` [INFO] running `"docker" "rm" "-f" "7767804f89604ca74d9fbae9463881cb6af4cd4b83ef4393034c562f5a675bac"` [INFO] [stdout] 7767804f89604ca74d9fbae9463881cb6af4cd4b83ef4393034c562f5a675bac