[INFO] fetching crate av-bitstream 0.1.2... [INFO] testing av-bitstream-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate av-bitstream 0.1.2 into /workspace/builds/worker-46/source [INFO] validating manifest of crates.io crate av-bitstream 0.1.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate av-bitstream 0.1.2 [INFO] finished tweaking crates.io crate av-bitstream 0.1.2 [INFO] tweaked toml for crates.io crate av-bitstream 0.1.2 written to /workspace/builds/worker-46/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97f76df2d2dd6301c53ffc2efb58c38bebbc5dde21360b9878b7bb1154a2ccd1 [INFO] running `Command { std: "docker" "start" "-a" "97f76df2d2dd6301c53ffc2efb58c38bebbc5dde21360b9878b7bb1154a2ccd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97f76df2d2dd6301c53ffc2efb58c38bebbc5dde21360b9878b7bb1154a2ccd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f76df2d2dd6301c53ffc2efb58c38bebbc5dde21360b9878b7bb1154a2ccd1", kill_on_drop: false }` [INFO] [stdout] 97f76df2d2dd6301c53ffc2efb58c38bebbc5dde21360b9878b7bb1154a2ccd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56733893efeaacb1fc90fe9015ad082e4110cda4cf05f9503d70eaad37c03e30 [INFO] running `Command { std: "docker" "start" "-a" "56733893efeaacb1fc90fe9015ad082e4110cda4cf05f9503d70eaad37c03e30", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling av-bitstream v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 27 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 32 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 37 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 42 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 47 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 52 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 87 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 92 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 97 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 102 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.32s [INFO] running `Command { std: "docker" "inspect" "56733893efeaacb1fc90fe9015ad082e4110cda4cf05f9503d70eaad37c03e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56733893efeaacb1fc90fe9015ad082e4110cda4cf05f9503d70eaad37c03e30", kill_on_drop: false }` [INFO] [stdout] 56733893efeaacb1fc90fe9015ad082e4110cda4cf05f9503d70eaad37c03e30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8190234a4ccfa04ca55bed46c82f564205b79f4176f02d51da3477f77b40cd33 [INFO] running `Command { std: "docker" "start" "-a" "8190234a4ccfa04ca55bed46c82f564205b79f4176f02d51da3477f77b40cd33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 27 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 32 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 37 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 42 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 47 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 52 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 87 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 92 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 97 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 102 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling av-bitstream v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 27 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 32 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 37 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 42 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 47 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 52 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 87 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 92 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 97 | write_bytes_le!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/bytewrite.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 102 | write_bytes_be!(buf, n); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.94s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/av_bitstream-1292f1ad500c0662) [INFO] running `Command { std: "docker" "inspect" "8190234a4ccfa04ca55bed46c82f564205b79f4176f02d51da3477f77b40cd33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8190234a4ccfa04ca55bed46c82f564205b79f4176f02d51da3477f77b40cd33", kill_on_drop: false }` [INFO] [stdout] 8190234a4ccfa04ca55bed46c82f564205b79f4176f02d51da3477f77b40cd33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dca84ac314fbd5f0882ddaf83b7381ba183764998d219585009a07fe160abb11 [INFO] running `Command { std: "docker" "start" "-a" "dca84ac314fbd5f0882ddaf83b7381ba183764998d219585009a07fe160abb11", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 27 | write_bytes_le!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 32 | write_bytes_be!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 37 | write_bytes_le!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 42 | write_bytes_be!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 47 | write_bytes_le!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 52 | write_bytes_be!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 87 | write_bytes_le!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 92 | write_bytes_be!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 97 | write_bytes_le!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_bytes_le` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 4 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/bytewrite.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] ... [INFO] [stderr] 102 | write_bytes_be!(buf, n); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `write_bytes_be` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 11 | let _ = &mut $buf[..bytes.len()].copy_from_slice(&bytes); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `av-bitstream` (lib) generated 10 warnings [INFO] [stderr] warning: `av-bitstream` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/av_bitstream-1292f1ad500c0662) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stderr] Doc-tests av-bitstream [INFO] [stdout] test bitread::test::be::align_bits ... ok [INFO] [stdout] test bitread::test::be::get_bits_64 ... ok [INFO] [stdout] test bitread::test::be::overread ... ok [INFO] [stdout] test bitread::test::be::peek_bits_64 ... ok [INFO] [stdout] test bitread::test::be::get_bits_32 ... ok [INFO] [stdout] test bitread::test::be::skip_bits ... ok [INFO] [stdout] test bitread::test::be::peek_bits_32 ... ok [INFO] [stdout] test bitread::test::be::get_bit ... ok [INFO] [stdout] test bitread::test::le::align_bits ... ok [INFO] [stdout] test bitread::test::le::get_bit ... ok [INFO] [stdout] test bitread::test::le::get_bits_64 ... ok [INFO] [stdout] test bitread::test::le::overread ... ok [INFO] [stdout] test bitread::test::le::get_bits_32 ... ok [INFO] [stdout] test bitread::test::le::skip_bits ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f32_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f32_be ... ok [INFO] [stdout] test bitread::test::le::peek_bits_64 ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i32_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u32_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u32_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f64_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i64_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i64_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i16_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u16_l ... ok [INFO] [stdout] test bitread::test::le::peek_bits_32 ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u16_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u64_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f64_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i16_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i32_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u64_l ... ok [INFO] [stdout] test codebook::test::test_full_codebook_msb ... ok [INFO] [stdout] test codebook::test::test_short_codebook_lsb ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u8 ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i8 ... ok [INFO] [stdout] test codebook::test::test_short_codebook_msb ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [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" "dca84ac314fbd5f0882ddaf83b7381ba183764998d219585009a07fe160abb11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca84ac314fbd5f0882ddaf83b7381ba183764998d219585009a07fe160abb11", kill_on_drop: false }` [INFO] [stdout] dca84ac314fbd5f0882ddaf83b7381ba183764998d219585009a07fe160abb11