[INFO] cloning repository https://github.com/hpatjens/instrument [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hpatjens/instrument" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpatjens%2Finstrument", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpatjens%2Finstrument'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b490438eb682cc12fa9241124bdca0acb5c3573 [INFO] checking hpatjens/instrument against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpatjens%2Finstrument" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hpatjens/instrument on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hpatjens/instrument [INFO] finished tweaking git repo https://github.com/hpatjens/instrument [INFO] tweaked toml for git repo https://github.com/hpatjens/instrument written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hpatjens/instrument already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding thread-id v3.3.0 (latest: v4.2.1) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v0.4.0 [INFO] [stderr] Downloaded serial_test_derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 865aa6422364c0b124f5f0c33c568205b5a01352045a1f5aba5dfc5357181184 [INFO] running `Command { std: "docker" "start" "-a" "865aa6422364c0b124f5f0c33c568205b5a01352045a1f5aba5dfc5357181184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "865aa6422364c0b124f5f0c33c568205b5a01352045a1f5aba5dfc5357181184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865aa6422364c0b124f5f0c33c568205b5a01352045a1f5aba5dfc5357181184", kill_on_drop: false }` [INFO] [stdout] 865aa6422364c0b124f5f0c33c568205b5a01352045a1f5aba5dfc5357181184 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd243ad6ebba7de4d255214c8484bb68ae1ef7cfe22b91cda95d59f8edb8512c [INFO] running `Command { std: "docker" "start" "-a" "fd243ad6ebba7de4d255214c8484bb68ae1ef7cfe22b91cda95d59f8edb8512c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Checking serial_test v0.4.0 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking instrument v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OffsetDateTime` [INFO] [stdout] --> src/platform.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | (OffsetDateTime::now_utc() - OffsetDateTime::unix_epoch()).whole_nanoseconds() as i64 [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `OffsetDateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use time::OffsetDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OffsetDateTime` [INFO] [stdout] --> src/platform.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | (OffsetDateTime::now_utc() - OffsetDateTime::unix_epoch()).whole_nanoseconds() as i64 [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `OffsetDateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use time::OffsetDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OffsetDateTime` [INFO] [stdout] --> src/platform.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | (OffsetDateTime::now_utc() - OffsetDateTime::unix_epoch()).whole_nanoseconds() as i64 [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `OffsetDateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use time::OffsetDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OffsetDateTime` [INFO] [stdout] --> src/platform.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | (OffsetDateTime::now_utc() - OffsetDateTime::unix_epoch()).whole_nanoseconds() as i64 [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `OffsetDateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use time::OffsetDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/recording.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | start: RecordingTimestamp::now(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RecordingTimestamp`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `platform::RecordingTimestamp` (its field is private, but it's local to this crate and its privacy can be changed) [INFO] [stdout] | [INFO] [stdout] 89 | start: platform::RecordingTimestamp(RecordingTimestamp::now()), [INFO] [stdout] | +++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/recording.rs:109:70 [INFO] [stdout] | [INFO] [stdout] 109 | raw_thread_profile.region_backends[index].end = Some(time); [INFO] [stdout] | ---- ^^^^ expected `RecordingTimestamp`, found `i64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `i64` due to the type of the argument passed [INFO] [stdout] --> src/recording.rs:109:65 [INFO] [stdout] | [INFO] [stdout] 109 | raw_thread_profile.region_backends[index].end = Some(time); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:579:5 [INFO] [stdout] help: try wrapping the expression in `platform::RecordingTimestamp` (its field is private, but it's local to this crate and its privacy can be changed) [INFO] [stdout] | [INFO] [stdout] 109 | raw_thread_profile.region_backends[index].end = Some(platform::RecordingTimestamp(time)); [INFO] [stdout] | +++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/recording.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | start: RecordingTimestamp::now(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RecordingTimestamp`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `platform::RecordingTimestamp` (its field is private, but it's local to this crate and its privacy can be changed) [INFO] [stdout] | [INFO] [stdout] 89 | start: platform::RecordingTimestamp(RecordingTimestamp::now()), [INFO] [stdout] | +++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/recording.rs:109:70 [INFO] [stdout] | [INFO] [stdout] 109 | raw_thread_profile.region_backends[index].end = Some(time); [INFO] [stdout] | ---- ^^^^ expected `RecordingTimestamp`, found `i64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `i64` due to the type of the argument passed [INFO] [stdout] --> src/recording.rs:109:65 [INFO] [stdout] | [INFO] [stdout] 109 | raw_thread_profile.region_backends[index].end = Some(time); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/option.rs:579:5 [INFO] [stdout] help: try wrapping the expression in `platform::RecordingTimestamp` (its field is private, but it's local to this crate and its privacy can be changed) [INFO] [stdout] | [INFO] [stdout] 109 | raw_thread_profile.region_backends[index].end = Some(platform::RecordingTimestamp(time)); [INFO] [stdout] | +++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `instrument` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `instrument` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "fd243ad6ebba7de4d255214c8484bb68ae1ef7cfe22b91cda95d59f8edb8512c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd243ad6ebba7de4d255214c8484bb68ae1ef7cfe22b91cda95d59f8edb8512c", kill_on_drop: false }` [INFO] [stdout] fd243ad6ebba7de4d255214c8484bb68ae1ef7cfe22b91cda95d59f8edb8512c