[INFO] fetching crate lv2_raw 0.2.0...
[INFO] checking lv2_raw-0.2.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate lv2_raw 0.2.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate lv2_raw 0.2.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lv2_raw 0.2.0
[INFO] finished tweaking crates.io crate lv2_raw 0.2.0
[INFO] tweaked toml for crates.io crate lv2_raw 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 65c17b687528113fb13f7aa0a526db0d32b9acdff1187b01b2f87a9f914e7642
[INFO] running `Command { std: "docker" "start" "-a" "65c17b687528113fb13f7aa0a526db0d32b9acdff1187b01b2f87a9f914e7642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "65c17b687528113fb13f7aa0a526db0d32b9acdff1187b01b2f87a9f914e7642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65c17b687528113fb13f7aa0a526db0d32b9acdff1187b01b2f87a9f914e7642", kill_on_drop: false }`
[INFO] [stdout] 65c17b687528113fb13f7aa0a526db0d32b9acdff1187b01b2f87a9f914e7642
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 95c95ab33832f12b4c280dee1393f89ffdb34a841a538b1ea934aace26c31093
[INFO] running `Command { std: "docker" "start" "-a" "95c95ab33832f12b4c280dee1393f89ffdb34a841a538b1ea934aace26c31093", kill_on_drop: false }`
[INFO] [stderr]     Checking lv2_raw v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/core.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use libc;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/core.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use libc;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/core.rs:113:57
[INFO] [stdout]     |
[INFO] [stdout] 113 | ...                   features: *const (*const LV2Feature))
[INFO] [stdout]     |                                        ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -                                        features: *const (*const LV2Feature))
[INFO] [stdout] 113 +                                        features: *const *const LV2Feature)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/core.rs:245:58
[INFO] [stdout]     |
[INFO] [stdout] 245 |     pub extension_data: extern "C" fn(uri: *const u8) -> (*const libc::c_void),
[INFO] [stdout]     |                                                          ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 245 -     pub extension_data: extern "C" fn(uri: *const u8) -> (*const libc::c_void),
[INFO] [stdout] 245 +     pub extension_data: extern "C" fn(uri: *const u8) -> *const libc::c_void,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/ui.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use libc;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/ui.rs:121:61
[INFO] [stdout]     |
[INFO] [stdout] 121 | ...                   features: *const (*const LV2Feature))
[INFO] [stdout]     |                                        ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 121 -                                            features: *const (*const LV2Feature))
[INFO] [stdout] 121 +                                            features: *const *const LV2Feature)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/urid.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use libc;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `c_void` is imported redundantly
[INFO] [stdout]   --> src/coreutils.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 | use libc::{c_char, c_void};
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 24 | use core::*;
[INFO] [stdout] 25 | use std::ffi::*;
[INFO] [stdout]    |     ----------- the item `c_void` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/core.rs:113:57
[INFO] [stdout]     |
[INFO] [stdout] 113 | ...                   features: *const (*const LV2Feature))
[INFO] [stdout]     |                                        ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -                                        features: *const (*const LV2Feature))
[INFO] [stdout] 113 +                                        features: *const *const LV2Feature)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/core.rs:245:58
[INFO] [stdout]     |
[INFO] [stdout] 245 |     pub extension_data: extern "C" fn(uri: *const u8) -> (*const libc::c_void),
[INFO] [stdout]     |                                                          ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 245 -     pub extension_data: extern "C" fn(uri: *const u8) -> (*const libc::c_void),
[INFO] [stdout] 245 +     pub extension_data: extern "C" fn(uri: *const u8) -> *const libc::c_void,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/ui.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use libc;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/ui.rs:121:61
[INFO] [stdout]     |
[INFO] [stdout] 121 | ...                   features: *const (*const LV2Feature))
[INFO] [stdout]     |                                        ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 121 -                                            features: *const (*const LV2Feature))
[INFO] [stdout] 121 +                                            features: *const *const LV2Feature)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/urid.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use libc;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `c_void` is imported redundantly
[INFO] [stdout]   --> src/coreutils.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 | use libc::{c_char, c_void};
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 24 | use core::*;
[INFO] [stdout] 25 | use std::ffi::*;
[INFO] [stdout]    |     ----------- the item `c_void` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/coreutils.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut data = it.data;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/atomutils.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |             let mut q = query;
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/coreutils.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut data = it.data;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/atomutils.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |             let mut q = query;
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::offset` that must be used
[INFO] [stdout]    --> src/atomutils.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |         q.offset(1);
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: returns a new pointer rather than modifying its argument
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let _ = q.offset(1);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::offset` that must be used
[INFO] [stdout]    --> src/atomutils.rs:213:17
[INFO] [stdout]     |
[INFO] [stdout] 213 |                 q.offset(1);
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: returns a new pointer rather than modifying its argument
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 213 |                 let _ = q.offset(1);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::offset` that must be used
[INFO] [stdout]    --> src/atomutils.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |         q.offset(1);
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: returns a new pointer rather than modifying its argument
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let _ = q.offset(1);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::offset` that must be used
[INFO] [stdout]    --> src/atomutils.rs:213:17
[INFO] [stdout]     |
[INFO] [stdout] 213 |                 q.offset(1);
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: returns a new pointer rather than modifying its argument
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 213 |                 let _ = q.offset(1);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> tests/testatomutils.rs:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let seq = &*(&state.buf[0] as *const u8 as *const LV2AtomSequence);
[INFO] [stdout]     |                   ^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       backing allocation comes from here
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `lv2_raw::LV2AtomSequence` (16 bytes)
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lv2_raw` (test "testatomutils") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "95c95ab33832f12b4c280dee1393f89ffdb34a841a538b1ea934aace26c31093", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95c95ab33832f12b4c280dee1393f89ffdb34a841a538b1ea934aace26c31093", kill_on_drop: false }`
[INFO] [stdout] 95c95ab33832f12b4c280dee1393f89ffdb34a841a538b1ea934aace26c31093
