[INFO] fetching crate hawktracer-parser 0.2.3... [INFO] checking hawktracer-parser-0.2.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hawktracer-parser 0.2.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate hawktracer-parser 0.2.3 [INFO] finished tweaking crates.io crate hawktracer-parser 0.2.3 [INFO] tweaked toml for crates.io crate hawktracer-parser 0.2.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hawktracer-parser 0.2.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd67dfc9019f25430b3760331dc1826511b4847f6e887692df1de40f0d9673f [INFO] running `Command { std: "docker" "start" "-a" "6fd67dfc9019f25430b3760331dc1826511b4847f6e887692df1de40f0d9673f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd67dfc9019f25430b3760331dc1826511b4847f6e887692df1de40f0d9673f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd67dfc9019f25430b3760331dc1826511b4847f6e887692df1de40f0d9673f", kill_on_drop: false }` [INFO] [stdout] 6fd67dfc9019f25430b3760331dc1826511b4847f6e887692df1de40f0d9673f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8c26de6ef996688a9ad6ce3f88623d48d65d7b98553d39c5ce986a404308270 [INFO] running `Command { std: "docker" "start" "-a" "e8c26de6ef996688a9ad6ce3f88623d48d65d7b98553d39c5ce986a404308270", kill_on_drop: false }` [INFO] [stderr] Checking hawktracer-parser v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hawktracer_parser_test_utilities` [INFO] [stdout] --> src/event_reader.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use hawktracer_parser_test_utilities::FakeDataReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hawktracer_parser_test_utilities` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hawktracer_parser_test_utilities`, use `cargo add hawktracer_parser_test_utilities` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hawktracer_parser_test_utilities` [INFO] [stdout] --> src/data_provider.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use hawktracer_parser_test_utilities::FakeDataReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hawktracer_parser_test_utilities` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hawktracer_parser_test_utilities`, use `cargo add hawktracer_parser_test_utilities` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hawktracer_parser_test_utilities` [INFO] [stdout] --> src/data_struct_reader.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use hawktracer_parser_test_utilities::FakeDataReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hawktracer_parser_test_utilities` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hawktracer_parser_test_utilities`, use `cargo add hawktracer_parser_test_utilities` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/data_struct_reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | std::mem::transmute::<[u8; $size], $type>(buffer), [INFO] [stdout] | -----------------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 65 | DataType::U8 => get_integer!(self, u8, 1, U8), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `get_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/data_struct_reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | std::mem::transmute::<[u8; $size], $type>(buffer), [INFO] [stdout] | -----------------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i8::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 66 | DataType::I8 => get_integer!(self, i8, 1, I8), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `get_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/data_struct_reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | std::mem::transmute::<[u8; $size], $type>(buffer), [INFO] [stdout] | -----------------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 67 | DataType::U16 => get_integer!(self, u16, 2, U16), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `get_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/data_struct_reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | std::mem::transmute::<[u8; $size], $type>(buffer), [INFO] [stdout] | -----------------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 68 | DataType::I16 => get_integer!(self, i16, 2, I16), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `get_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/data_struct_reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | std::mem::transmute::<[u8; $size], $type>(buffer), [INFO] [stdout] | -----------------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 69 | DataType::U32 => get_integer!(self, u32, 4, U32), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `get_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/data_struct_reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | std::mem::transmute::<[u8; $size], $type>(buffer), [INFO] [stdout] | -----------------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 70 | DataType::I32 => get_integer!(self, i32, 4, I32), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `get_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/data_struct_reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | std::mem::transmute::<[u8; $size], $type>(buffer), [INFO] [stdout] | -----------------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 71 | DataType::U64 => get_integer!(self, u64, 8, U64), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `get_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/data_struct_reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | std::mem::transmute::<[u8; $size], $type>(buffer), [INFO] [stdout] | -----------------------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 72 | DataType::I64 => get_integer!(self, i64, 8, I64), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `get_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawktracer-parser` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e8c26de6ef996688a9ad6ce3f88623d48d65d7b98553d39c5ce986a404308270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c26de6ef996688a9ad6ce3f88623d48d65d7b98553d39c5ce986a404308270", kill_on_drop: false }` [INFO] [stdout] e8c26de6ef996688a9ad6ce3f88623d48d65d7b98553d39c5ce986a404308270