[INFO] fetching crate midi20 0.2.0... [INFO] testing midi20-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate midi20 0.2.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate midi20 0.2.0 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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c351431e5d6a6eb6ec96694101d963741d310d123078b49d57a9f0a468ae504f [INFO] running `Command { std: "docker" "start" "-a" "c351431e5d6a6eb6ec96694101d963741d310d123078b49d57a9f0a468ae504f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c351431e5d6a6eb6ec96694101d963741d310d123078b49d57a9f0a468ae504f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c351431e5d6a6eb6ec96694101d963741d310d123078b49d57a9f0a468ae504f", kill_on_drop: false }` [INFO] [stdout] c351431e5d6a6eb6ec96694101d963741d310d123078b49d57a9f0a468ae504f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afdb3f9e40ff424e2627e284140fb32f64d6e21c5d440f967734fa8c63de739a [INFO] running `Command { std: "docker" "start" "-a" "afdb3f9e40ff424e2627e284140fb32f64d6e21c5d440f967734fa8c63de739a", 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.61s [INFO] running `Command { std: "docker" "inspect" "afdb3f9e40ff424e2627e284140fb32f64d6e21c5d440f967734fa8c63de739a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afdb3f9e40ff424e2627e284140fb32f64d6e21c5d440f967734fa8c63de739a", kill_on_drop: false }` [INFO] [stdout] afdb3f9e40ff424e2627e284140fb32f64d6e21c5d440f967734fa8c63de739a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d285b7ce55c2b1ea6c2affffbda0051dfc15038fd6acce118ee69ffe929aeef6 [INFO] running `Command { std: "docker" "start" "-a" "d285b7ce55c2b1ea6c2affffbda0051dfc15038fd6acce118ee69ffe929aeef6", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "d285b7ce55c2b1ea6c2affffbda0051dfc15038fd6acce118ee69ffe929aeef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d285b7ce55c2b1ea6c2affffbda0051dfc15038fd6acce118ee69ffe929aeef6", kill_on_drop: false }` [INFO] [stdout] d285b7ce55c2b1ea6c2affffbda0051dfc15038fd6acce118ee69ffe929aeef6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8d0bc3c7e4eac9c787311ce5c1e380665951996745acfa3c3dcec8a9238191ce [INFO] running `Command { std: "docker" "start" "-a" "8d0bc3c7e4eac9c787311ce5c1e380665951996745acfa3c3dcec8a9238191ce", 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.05s [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::header::address_from_u8 ... ok [INFO] [stdout] test message::flex::tests::chord_name_from_u32_3 ... 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::address_from_u4_overflow ... ok [INFO] [stdout] test message::flex::tests::header::performance_text_into_u8 ... ok [INFO] [stdout] test message::flex::tests::header::status_from_u4_status_bank_overflow ... ok [INFO] [stdout] test message::flex::tests::header::setup_and_performance_from_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_into_u16 ... ok [INFO] [stdout] test message::flex::tests::key_signature_into_u8 ... ok [INFO] [stdout] test message::flex::tests::metronome_into_u32_array ... 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::key_signature_from_u8 ... ok [INFO] [stdout] test message::flex::tests::tempo_bpm ... ok [INFO] [stdout] test message::flex::tests::time_signature_from_u32 ... 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_into_u32 ... ok [INFO] [stdout] test message::flex::tests::header::metadata_text_from_overflow - should panic ... 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] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [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" "8d0bc3c7e4eac9c787311ce5c1e380665951996745acfa3c3dcec8a9238191ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d0bc3c7e4eac9c787311ce5c1e380665951996745acfa3c3dcec8a9238191ce", kill_on_drop: false }` [INFO] [stdout] 8d0bc3c7e4eac9c787311ce5c1e380665951996745acfa3c3dcec8a9238191ce