[INFO] crate time2 0.2.0 is already in cache [INFO] testing time2-0.2.0 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate time2 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate time2 0.2.0 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 54d70e9c4e7fc1dcf62cec9689e41e4ab8e1b27e934c1e4a3460686350e000f9 [INFO] running `"docker" "start" "-a" "54d70e9c4e7fc1dcf62cec9689e41e4ab8e1b27e934c1e4a3460686350e000f9"` [INFO] [stderr] Compiling time2 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `"docker" "inspect" "54d70e9c4e7fc1dcf62cec9689e41e4ab8e1b27e934c1e4a3460686350e000f9"` [INFO] running `"docker" "rm" "-f" "54d70e9c4e7fc1dcf62cec9689e41e4ab8e1b27e934c1e4a3460686350e000f9"` [INFO] [stdout] 54d70e9c4e7fc1dcf62cec9689e41e4ab8e1b27e934c1e4a3460686350e000f9 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c57877b26c01a27b165d04d839ab4bb61b20f92ce4f00b046f3c310a9f85ac01 [INFO] running `"docker" "start" "-a" "c57877b26c01a27b165d04d839ab4bb61b20f92ce4f00b046f3c310a9f85ac01"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling quickcheck v0.2.27 [INFO] [stderr] Compiling time2 v0.2.0 (/opt/rustwide/workdir) [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" "c57877b26c01a27b165d04d839ab4bb61b20f92ce4f00b046f3c310a9f85ac01"` [INFO] running `"docker" "rm" "-f" "c57877b26c01a27b165d04d839ab4bb61b20f92ce4f00b046f3c310a9f85ac01"` [INFO] [stdout] c57877b26c01a27b165d04d839ab4bb61b20f92ce4f00b046f3c310a9f85ac01