[INFO] fetching crate midi20 0.2.0... [INFO] testing midi20-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate midi20 0.2.0 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate midi20 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3adff15c3e31ebffebac8318d5d52b9f8ce4193f6f6553aaa045e23ec26d9eb2 [INFO] running `Command { std: "docker" "start" "-a" "3adff15c3e31ebffebac8318d5d52b9f8ce4193f6f6553aaa045e23ec26d9eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3adff15c3e31ebffebac8318d5d52b9f8ce4193f6f6553aaa045e23ec26d9eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3adff15c3e31ebffebac8318d5d52b9f8ce4193f6f6553aaa045e23ec26d9eb2", kill_on_drop: false }` [INFO] [stdout] 3adff15c3e31ebffebac8318d5d52b9f8ce4193f6f6553aaa045e23ec26d9eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f888beba7994e2a40b7a75ef4376c8d446f2bc9ec94f790cd002c26433d2e36e [INFO] running `Command { std: "docker" "start" "-a" "f888beba7994e2a40b7a75ef4376c8d446f2bc9ec94f790cd002c26433d2e36e", 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.62s [INFO] running `Command { std: "docker" "inspect" "f888beba7994e2a40b7a75ef4376c8d446f2bc9ec94f790cd002c26433d2e36e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f888beba7994e2a40b7a75ef4376c8d446f2bc9ec94f790cd002c26433d2e36e", kill_on_drop: false }` [INFO] [stdout] f888beba7994e2a40b7a75ef4376c8d446f2bc9ec94f790cd002c26433d2e36e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 301399ca8a6fad0be47e780c82218dc7791e1abd68c02c0626863080e73904fd [INFO] running `Command { std: "docker" "start" "-a" "301399ca8a6fad0be47e780c82218dc7791e1abd68c02c0626863080e73904fd", 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.72s [INFO] running `Command { std: "docker" "inspect" "301399ca8a6fad0be47e780c82218dc7791e1abd68c02c0626863080e73904fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301399ca8a6fad0be47e780c82218dc7791e1abd68c02c0626863080e73904fd", kill_on_drop: false }` [INFO] [stdout] 301399ca8a6fad0be47e780c82218dc7791e1abd68c02c0626863080e73904fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7380ca7f743658ad42810904924169261581babb2d11512becb99c16b5953fbc [INFO] running `Command { std: "docker" "start" "-a" "7380ca7f743658ad42810904924169261581babb2d11512becb99c16b5953fbc", kill_on_drop: false }` [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `[u32; 3]` will be dropped [INFO] [stdout] [INFO] [stderr] --> src/message/flex.rs:86:36 [INFO] [stdout] running 25 tests [INFO] [stderr] | [INFO] [stdout] test message::flex::tests::chord_name_from_u32_3 ... ok [INFO] [stderr] 86 | let data = self.data().as_ptr().cast(); [INFO] [stdout] test message::flex::tests::header::address_from_u8 ... ok [INFO] [stderr] | ----------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] test message::flex::tests::header::metadata_text_from_u8 ... ok [INFO] [stderr] | | [INFO] [stdout] test message::flex::tests::header::performance_text_into_u8 ... ok [INFO] [stderr] | this `[u32; 3]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] test message::flex::tests::header::performance_text_from_u8 ... ok [INFO] [stderr] | [INFO] [stdout] test message::flex::tests::header::metadata_text_to_u8 ... ok [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] [stdout] test message::flex::tests::header::setup_and_performance_from_u8 ... ok [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] [stdout] test message::flex::tests::header::setup_and_performance_to_u8 ... ok [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] [stdout] test message::flex::tests::key_signature_from_note ... ok [INFO] [stderr] = help: for more information, see [INFO] [stdout] test message::flex::tests::key_signature_from_u8 ... ok [INFO] [stderr] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] test message::flex::tests::key_signature_into_u8 ... ok [INFO] [stderr] [INFO] [stdout] test message::flex::tests::metronome_from_u32_2 ... ok [INFO] [stderr] warning: `midi20` (lib) generated 1 warning [INFO] [stdout] test message::flex::tests::tempo_bpm ... ok [INFO] [stderr] warning: `midi20` (lib test) generated 1 warning (1 duplicate) [INFO] [stdout] test message::flex::tests::metronome_into_u32_array ... ok [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] test message::flex::tests::tempo_from_u32 ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/midi20-076dcf9dead3c2c9) [INFO] [stdout] test message::flex::tests::tempo_into_u32 ... ok [INFO] [stdout] test message::flex::tests::header::status_from_u16 ... ok [INFO] [stdout] test message::flex::tests::time_signature_from_u32 ... 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::time_signature_into_u32 ... ok [INFO] [stdout] test message::flex::tests::header::address_from_u4_overflow ... 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.03s [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" "7380ca7f743658ad42810904924169261581babb2d11512becb99c16b5953fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7380ca7f743658ad42810904924169261581babb2d11512becb99c16b5953fbc", kill_on_drop: false }` [INFO] [stdout] 7380ca7f743658ad42810904924169261581babb2d11512becb99c16b5953fbc