[INFO] fetching crate midi20 0.2.0... [INFO] testing midi20-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate midi20 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate midi20 0.2.0 [INFO] finished tweaking crates.io crate midi20 0.2.0 [INFO] tweaked toml for crates.io crate midi20 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate midi20 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46f7bbc933a8f352478a3f42ee2077af976636f05719fd30c560e6598c141c94 [INFO] running `Command { std: "docker" "start" "-a" "46f7bbc933a8f352478a3f42ee2077af976636f05719fd30c560e6598c141c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46f7bbc933a8f352478a3f42ee2077af976636f05719fd30c560e6598c141c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f7bbc933a8f352478a3f42ee2077af976636f05719fd30c560e6598c141c94", kill_on_drop: false }` [INFO] [stdout] 46f7bbc933a8f352478a3f42ee2077af976636f05719fd30c560e6598c141c94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5acb5cfbd93f9f5c38aa72ac81f09c46ff182c7c8b7730a67eb95d853d70def [INFO] running `Command { std: "docker" "start" "-a" "c5acb5cfbd93f9f5c38aa72ac81f09c46ff182c7c8b7730a67eb95d853d70def", kill_on_drop: false }` [INFO] [stderr] Compiling midi20 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[u32; 3]` will be dropped [INFO] [stdout] --> src/message/flex.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | let data = self.data().as_ptr().cast(); [INFO] [stdout] | ----------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `[u32; 3]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `[u32; 3]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `[u32; 3]` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `[u32; 3]` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "c5acb5cfbd93f9f5c38aa72ac81f09c46ff182c7c8b7730a67eb95d853d70def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5acb5cfbd93f9f5c38aa72ac81f09c46ff182c7c8b7730a67eb95d853d70def", kill_on_drop: false }` [INFO] [stdout] c5acb5cfbd93f9f5c38aa72ac81f09c46ff182c7c8b7730a67eb95d853d70def [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aed2aee4846969666cbe226f74f842bf1af66d4f5b9fce67e17345a9f92ae8e5 [INFO] running `Command { std: "docker" "start" "-a" "aed2aee4846969666cbe226f74f842bf1af66d4f5b9fce67e17345a9f92ae8e5", kill_on_drop: false }` [INFO] [stderr] Compiling midi20 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[u32; 3]` will be dropped [INFO] [stdout] --> src/message/flex.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | let data = self.data().as_ptr().cast(); [INFO] [stdout] | ----------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `[u32; 3]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `[u32; 3]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `[u32; 3]` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `[u32; 3]` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[u32; 3]` will be dropped [INFO] [stdout] --> src/message/flex.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | let data = self.data().as_ptr().cast(); [INFO] [stdout] | ----------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `[u32; 3]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `[u32; 3]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `[u32; 3]` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `[u32; 3]` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "aed2aee4846969666cbe226f74f842bf1af66d4f5b9fce67e17345a9f92ae8e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aed2aee4846969666cbe226f74f842bf1af66d4f5b9fce67e17345a9f92ae8e5", kill_on_drop: false }` [INFO] [stdout] aed2aee4846969666cbe226f74f842bf1af66d4f5b9fce67e17345a9f92ae8e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9fb0e64ead0903a4e32532d4034186919bbd4093edc6c6a15fa2aa479d5dc49f [INFO] running `Command { std: "docker" "start" "-a" "9fb0e64ead0903a4e32532d4034186919bbd4093edc6c6a15fa2aa479d5dc49f", kill_on_drop: false }` [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `[u32; 3]` will be dropped [INFO] [stderr] --> src/message/flex.rs:86:36 [INFO] [stderr] | [INFO] [stderr] 86 | let data = self.data().as_ptr().cast(); [INFO] [stderr] | ----------- ^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `[u32; 3]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `[u32; 3]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: you must make sure that the variable you bind the `[u32; 3]` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `[u32; 3]` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `midi20` (lib) generated 1 warning [INFO] [stderr] warning: `midi20` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/midi20-076dcf9dead3c2c9) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test message::flex::tests::chord_name_from_u32_3 ... ok [INFO] [stdout] test message::flex::tests::header::address_from_u8 ... ok [INFO] [stdout] test message::flex::tests::header::metadata_text_from_u8 ... ok [INFO] [stdout] test message::flex::tests::header::metadata_text_to_u8 ... ok [INFO] [stdout] test message::flex::tests::header::performance_text_from_u8 ... ok [INFO] [stdout] test message::flex::tests::header::performance_text_into_u8 ... ok [INFO] [stdout] test message::flex::tests::header::setup_and_performance_to_u8 ... ok [INFO] [stdout] test message::flex::tests::header::status_from_u16 ... ok [INFO] [stdout] test message::flex::tests::header::status_from_u4_status_bank_overflow ... ok [INFO] [stdout] test message::flex::tests::header::status_into_u16 ... ok [INFO] [stdout] test message::flex::tests::header::setup_and_performance_from_u8 ... ok [INFO] [stdout] test message::flex::tests::key_signature_from_note ... ok [INFO] [stdout] test message::flex::tests::metronome_from_u32_2 ... ok [INFO] [stdout] test message::flex::tests::header::address_from_u4_overflow ... ok [INFO] [stdout] test message::flex::tests::metronome_into_u32_array ... ok [INFO] [stdout] test message::flex::tests::tempo_from_u32 ... ok [INFO] [stdout] test message::flex::tests::tempo_into_u32 ... ok [INFO] [stdout] test message::flex::tests::time_signature_from_u32 ... ok [INFO] [stdout] test message::flex::tests::time_signature_into_u32 ... ok [INFO] [stdout] test message::flex::tests::tempo_bpm ... ok [INFO] [stdout] test message::flex::tests::key_signature_from_u8 ... ok [INFO] [stdout] test message::flex::tests::header::performance_text_from_overflow - should panic ... ok [INFO] [stdout] test message::flex::tests::header::setup_and_performance_from_u8_overflow - should panic ... ok [INFO] [stdout] test message::flex::tests::header::metadata_text_from_overflow - should panic ... ok [INFO] [stdout] test message::flex::tests::key_signature_into_u8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests midi20 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9fb0e64ead0903a4e32532d4034186919bbd4093edc6c6a15fa2aa479d5dc49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb0e64ead0903a4e32532d4034186919bbd4093edc6c6a15fa2aa479d5dc49f", kill_on_drop: false }` [INFO] [stdout] 9fb0e64ead0903a4e32532d4034186919bbd4093edc6c6a15fa2aa479d5dc49f