[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] testing hpatjens/instrument against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhpatjens%2Finstrument" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hpatjens/instrument on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-23/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3eee4d607c023f9357bcda66d949838924a863f00f48bcb4a43388891f89e240 [INFO] running `Command { std: "docker" "start" "-a" "3eee4d607c023f9357bcda66d949838924a863f00f48bcb4a43388891f89e240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3eee4d607c023f9357bcda66d949838924a863f00f48bcb4a43388891f89e240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eee4d607c023f9357bcda66d949838924a863f00f48bcb4a43388891f89e240", kill_on_drop: false }` [INFO] [stdout] 3eee4d607c023f9357bcda66d949838924a863f00f48bcb4a43388891f89e240 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddad3867b5349e904e90ef352f0d543b558933b3d659c20bbfec5596d751b863 [INFO] running `Command { std: "docker" "start" "-a" "ddad3867b5349e904e90ef352f0d543b558933b3d659c20bbfec5596d751b863", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling 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] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling 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] Compiling serial_test v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^^^ not found in this scope [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 struct `RecordingTimestamp`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `platform::RecordingTimestamp` [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 struct `RecordingTimestamp`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `platform::RecordingTimestamp` [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; 1 warning emitted [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` due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ddad3867b5349e904e90ef352f0d543b558933b3d659c20bbfec5596d751b863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddad3867b5349e904e90ef352f0d543b558933b3d659c20bbfec5596d751b863", kill_on_drop: false }` [INFO] [stdout] ddad3867b5349e904e90ef352f0d543b558933b3d659c20bbfec5596d751b863