[INFO] fetching crate av-bitstream 0.1.2... [INFO] testing av-bitstream-0.1.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate av-bitstream 0.1.2 into /workspace/builds/worker-55/source [INFO] validating manifest of crates.io crate av-bitstream 0.1.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-55/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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" "+722e1797249a965b6335aebd65d777f917e498f1" "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-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a89158cea78b95ebc0b6797d83ceba4df22eb17db8666258426f8cbb74cad75c [INFO] running `Command { std: "docker" "start" "-a" "a89158cea78b95ebc0b6797d83ceba4df22eb17db8666258426f8cbb74cad75c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a89158cea78b95ebc0b6797d83ceba4df22eb17db8666258426f8cbb74cad75c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a89158cea78b95ebc0b6797d83ceba4df22eb17db8666258426f8cbb74cad75c", kill_on_drop: false }` [INFO] [stdout] a89158cea78b95ebc0b6797d83ceba4df22eb17db8666258426f8cbb74cad75c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45ba31af585316c21a747c182a7ae764ebe385180c051bd34f5d7989db8d16ae [INFO] running `Command { std: "docker" "start" "-a" "45ba31af585316c21a747c182a7ae764ebe385180c051bd34f5d7989db8d16ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [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 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 53.56s [INFO] running `Command { std: "docker" "inspect" "45ba31af585316c21a747c182a7ae764ebe385180c051bd34f5d7989db8d16ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ba31af585316c21a747c182a7ae764ebe385180c051bd34f5d7989db8d16ae", kill_on_drop: false }` [INFO] [stdout] 45ba31af585316c21a747c182a7ae764ebe385180c051bd34f5d7989db8d16ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa0e2c07f0112a85b30ed4fc25ef85415fea33e945db3e9693fb0db98ea2f739 [INFO] running `Command { std: "docker" "start" "-a" "aa0e2c07f0112a85b30ed4fc25ef85415fea33e945db3e9693fb0db98ea2f739", 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 3.11s [INFO] running `Command { std: "docker" "inspect" "aa0e2c07f0112a85b30ed4fc25ef85415fea33e945db3e9693fb0db98ea2f739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa0e2c07f0112a85b30ed4fc25ef85415fea33e945db3e9693fb0db98ea2f739", kill_on_drop: false }` [INFO] [stdout] aa0e2c07f0112a85b30ed4fc25ef85415fea33e945db3e9693fb0db98ea2f739 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ee37225ddaa4ec406099f44b43a8eb8558fea5f723abf96995e4ff4e9d7e9e8 [INFO] running `Command { std: "docker" "start" "-a" "1ee37225ddaa4ec406099f44b43a8eb8558fea5f723abf96995e4ff4e9d7e9e8", 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::align_bits ... ok [INFO] [stdout] test bitread::test::le::get_bit ... 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_u16_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i8 ... 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" "1ee37225ddaa4ec406099f44b43a8eb8558fea5f723abf96995e4ff4e9d7e9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee37225ddaa4ec406099f44b43a8eb8558fea5f723abf96995e4ff4e9d7e9e8", kill_on_drop: false }` [INFO] [stdout] 1ee37225ddaa4ec406099f44b43a8eb8558fea5f723abf96995e4ff4e9d7e9e8