[INFO] fetching crate midi20 0.2.0... [INFO] testing midi20-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate midi20 0.2.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate midi20 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56933a51016d49d72fbbf506bffc45800e25b2221d9379273aea5eefe9e8b56f [INFO] running `Command { std: "docker" "start" "-a" "56933a51016d49d72fbbf506bffc45800e25b2221d9379273aea5eefe9e8b56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56933a51016d49d72fbbf506bffc45800e25b2221d9379273aea5eefe9e8b56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56933a51016d49d72fbbf506bffc45800e25b2221d9379273aea5eefe9e8b56f", kill_on_drop: false }` [INFO] [stdout] 56933a51016d49d72fbbf506bffc45800e25b2221d9379273aea5eefe9e8b56f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b511957d11ae9d152f479f3f51f374931ff159adddb4fa52862ba3b27a8efd6b [INFO] running `Command { std: "docker" "start" "-a" "b511957d11ae9d152f479f3f51f374931ff159adddb4fa52862ba3b27a8efd6b", 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.58s [INFO] running `Command { std: "docker" "inspect" "b511957d11ae9d152f479f3f51f374931ff159adddb4fa52862ba3b27a8efd6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b511957d11ae9d152f479f3f51f374931ff159adddb4fa52862ba3b27a8efd6b", kill_on_drop: false }` [INFO] [stdout] b511957d11ae9d152f479f3f51f374931ff159adddb4fa52862ba3b27a8efd6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 659c11be0d05494df4e41ae9344d39244635a3b69f26c88f5dfa6f0d08168988 [INFO] running `Command { std: "docker" "start" "-a" "659c11be0d05494df4e41ae9344d39244635a3b69f26c88f5dfa6f0d08168988", 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.68s [INFO] running `Command { std: "docker" "inspect" "659c11be0d05494df4e41ae9344d39244635a3b69f26c88f5dfa6f0d08168988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659c11be0d05494df4e41ae9344d39244635a3b69f26c88f5dfa6f0d08168988", kill_on_drop: false }` [INFO] [stdout] 659c11be0d05494df4e41ae9344d39244635a3b69f26c88f5dfa6f0d08168988 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2dfe29677f05399de8654071c01c8cc2dfbb145dd5871251200b0bee63841481 [INFO] running `Command { std: "docker" "start" "-a" "2dfe29677f05399de8654071c01c8cc2dfbb145dd5871251200b0bee63841481", 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.69s [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_u4_overflow ... 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_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_u4_status_bank_overflow ... ok [INFO] [stdout] test message::flex::tests::header::status_into_u16 ... ok [INFO] [stdout] test message::flex::tests::metronome_from_u32_2 ... 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::tempo_bpm ... 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::header::status_from_u16 ... 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::key_signature_from_note ... 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::metadata_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.04s [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" "2dfe29677f05399de8654071c01c8cc2dfbb145dd5871251200b0bee63841481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfe29677f05399de8654071c01c8cc2dfbb145dd5871251200b0bee63841481", kill_on_drop: false }` [INFO] [stdout] 2dfe29677f05399de8654071c01c8cc2dfbb145dd5871251200b0bee63841481