[INFO] fetching crate av-bitstream 0.1.2... [INFO] testing av-bitstream-0.1.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate av-bitstream 0.1.2 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate av-bitstream 0.1.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-31/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df69e1a2c4ef259535fc424c8a476670a609281ee9aa1c71b0c7c621b6280f3d [INFO] running `Command { std: "docker" "start" "-a" "df69e1a2c4ef259535fc424c8a476670a609281ee9aa1c71b0c7c621b6280f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df69e1a2c4ef259535fc424c8a476670a609281ee9aa1c71b0c7c621b6280f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df69e1a2c4ef259535fc424c8a476670a609281ee9aa1c71b0c7c621b6280f3d", kill_on_drop: false }` [INFO] [stdout] df69e1a2c4ef259535fc424c8a476670a609281ee9aa1c71b0c7c621b6280f3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ee731da237981d8de5db3f768ea6652413850901ca7af834812f7c919696874 [INFO] running `Command { std: "docker" "start" "-a" "7ee731da237981d8de5db3f768ea6652413850901ca7af834812f7c919696874", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling err-derive v0.2.4 [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 6.21s [INFO] running `Command { std: "docker" "inspect" "7ee731da237981d8de5db3f768ea6652413850901ca7af834812f7c919696874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ee731da237981d8de5db3f768ea6652413850901ca7af834812f7c919696874", kill_on_drop: false }` [INFO] [stdout] 7ee731da237981d8de5db3f768ea6652413850901ca7af834812f7c919696874 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e78736475cadc111190d2a1bf757133f79d1f6617641d4306265b7904664850c [INFO] running `Command { std: "docker" "start" "-a" "e78736475cadc111190d2a1bf757133f79d1f6617641d4306265b7904664850c", 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 4.96s [INFO] running `Command { std: "docker" "inspect" "e78736475cadc111190d2a1bf757133f79d1f6617641d4306265b7904664850c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e78736475cadc111190d2a1bf757133f79d1f6617641d4306265b7904664850c", kill_on_drop: false }` [INFO] [stdout] e78736475cadc111190d2a1bf757133f79d1f6617641d4306265b7904664850c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 86680608f5624ef0565ed2aa4ef3ce4fc56c56d77580a8ddcdc2f5b8aa9ffc18 [INFO] running `Command { std: "docker" "start" "-a" "86680608f5624ef0565ed2aa4ef3ce4fc56c56d77580a8ddcdc2f5b8aa9ffc18", kill_on_drop: false }` [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.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/av_bitstream-1c5042f5bd5223a2) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test bitread::test::be::align_bits ... ok [INFO] [stdout] test bitread::test::be::get_bit ... ok [INFO] [stdout] test bitread::test::be::get_bits_32 ... 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_32 ... ok [INFO] [stdout] test bitread::test::be::peek_bits_64 ... ok [INFO] [stdout] test bitread::test::be::skip_bits ... ok [INFO] [stdout] test bitread::test::le::get_bit ... ok [INFO] [stdout] test bitread::test::le::align_bits ... ok [INFO] [stdout] test bitread::test::le::get_bits_32 ... 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::peek_bits_32 ... ok [INFO] [stdout] test bitread::test::le::peek_bits_64 ... ok [INFO] [stdout] test bitread::test::le::skip_bits ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f32_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f32_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f64_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f64_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i16_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i16_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i32_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i32_l ... 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_i8 ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u16_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u16_l ... 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_u64_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u64_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u8 ... ok [INFO] [stdout] test codebook::test::test_full_codebook_msb ... ok [INFO] [stdout] test codebook::test::test_short_codebook_lsb ... 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.01s [INFO] [stdout] [INFO] [stderr] Doc-tests av-bitstream [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" "86680608f5624ef0565ed2aa4ef3ce4fc56c56d77580a8ddcdc2f5b8aa9ffc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86680608f5624ef0565ed2aa4ef3ce4fc56c56d77580a8ddcdc2f5b8aa9ffc18", kill_on_drop: false }` [INFO] [stdout] 86680608f5624ef0565ed2aa4ef3ce4fc56c56d77580a8ddcdc2f5b8aa9ffc18