[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 try#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpatjens%2Finstrument" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hpatjens/instrument on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "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-tc2/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" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding thread-id v3.3.0 (available: v5.0.0) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test_derive v0.4.0 [INFO] [stderr] Downloaded serial_test v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 043481b9e89ed6138748714cc240f1d81c6f70de337a1151595164833c4260c1 [INFO] running `Command { std: "docker" "start" "-a" "043481b9e89ed6138748714cc240f1d81c6f70de337a1151595164833c4260c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "043481b9e89ed6138748714cc240f1d81c6f70de337a1151595164833c4260c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "043481b9e89ed6138748714cc240f1d81c6f70de337a1151595164833c4260c1", kill_on_drop: false }` [INFO] [stdout] 043481b9e89ed6138748714cc240f1d81c6f70de337a1151595164833c4260c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e250592dfdd472082b67f6ebe7c7d13f08e2a934ac16c3ccb8eb3bb2cc3f45f6 [INFO] running `Command { std: "docker" "start" "-a" "e250592dfdd472082b67f6ebe7c7d13f08e2a934ac16c3ccb8eb3bb2cc3f45f6", 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 syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking lock_api v0.3.4 [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] warning: unused import: `std::mem` [INFO] [stdout] --> src/platform.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/3ec2a775459d36c7d90654e47c56ff7bb0d542ab/library/core/src/option.rs:580: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[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] warning: unused import: `std::mem` [INFO] [stdout] --> src/platform.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/3ec2a775459d36c7d90654e47c56ff7bb0d542ab/library/core/src/option.rs:580: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] 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 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e250592dfdd472082b67f6ebe7c7d13f08e2a934ac16c3ccb8eb3bb2cc3f45f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e250592dfdd472082b67f6ebe7c7d13f08e2a934ac16c3ccb8eb3bb2cc3f45f6", kill_on_drop: false }` [INFO] [stdout] e250592dfdd472082b67f6ebe7c7d13f08e2a934ac16c3ccb8eb3bb2cc3f45f6