[INFO] fetching crate av-bitstream 0.1.2... [INFO] testing av-bitstream-0.1.2 against 1.59.0 for beta-1.60-1 [INFO] extracting crate av-bitstream 0.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate av-bitstream 0.1.2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e5085e5ad2cad9eb3a58c6977b377c981caec92c53c1420cfe29144ef83f0ad2 [INFO] running `Command { std: "docker" "start" "-a" "e5085e5ad2cad9eb3a58c6977b377c981caec92c53c1420cfe29144ef83f0ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5085e5ad2cad9eb3a58c6977b377c981caec92c53c1420cfe29144ef83f0ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5085e5ad2cad9eb3a58c6977b377c981caec92c53c1420cfe29144ef83f0ad2", kill_on_drop: false }` [INFO] [stdout] e5085e5ad2cad9eb3a58c6977b377c981caec92c53c1420cfe29144ef83f0ad2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad7b23db2ad13b1c9d4b6c8b7fe8d23e2e432ee4d742ae6617b0c6fc8be160c3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad7b23db2ad13b1c9d4b6c8b7fe8d23e2e432ee4d742ae6617b0c6fc8be160c3", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling err-derive v0.2.4 [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 7.55s [INFO] running `Command { std: "docker" "inspect" "ad7b23db2ad13b1c9d4b6c8b7fe8d23e2e432ee4d742ae6617b0c6fc8be160c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7b23db2ad13b1c9d4b6c8b7fe8d23e2e432ee4d742ae6617b0c6fc8be160c3", kill_on_drop: false }` [INFO] [stdout] ad7b23db2ad13b1c9d4b6c8b7fe8d23e2e432ee4d742ae6617b0c6fc8be160c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03ee730cf23ff52bbeaa54a092c678c23717f38fcdb0637079e4de24d1d2e39e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "03ee730cf23ff52bbeaa54a092c678c23717f38fcdb0637079e4de24d1d2e39e", 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 6.59s [INFO] running `Command { std: "docker" "inspect" "03ee730cf23ff52bbeaa54a092c678c23717f38fcdb0637079e4de24d1d2e39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ee730cf23ff52bbeaa54a092c678c23717f38fcdb0637079e4de24d1d2e39e", kill_on_drop: false }` [INFO] [stdout] 03ee730cf23ff52bbeaa54a092c678c23717f38fcdb0637079e4de24d1d2e39e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a91a522ab19a5cd4c6e7779caa096f5a56b3642a7e2ca4539155d73a763b2373 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a91a522ab19a5cd4c6e7779caa096f5a56b3642a7e2ca4539155d73a763b2373", 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.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/av_bitstream-da1245a5801130fc) [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::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_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::be::get_bits_32 ... ok [INFO] [stdout] test bitread::test::le::skip_bits ... 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_i64_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i16_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i32_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_i32_be ... ok [INFO] [stdout] test bitread::test::le::peek_bits_64 ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f64_be ... ok [INFO] [stdout] test bitread::test::be::overread ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f32_l ... ok [INFO] [stdout] test bytewrite::test::put_and_get_i64_l ... ok [INFO] [stdout] test bitread::test::le::get_bits_32 ... ok [INFO] [stdout] test bytewrite::test::put_and_get_f32_be ... ok [INFO] [stdout] test bitread::test::be::get_bits_64 ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u64_l ... ok [INFO] [stdout] test codebook::test::test_short_codebook_msb ... ok [INFO] [stdout] test codebook::test::test_full_codebook_msb ... ok [INFO] [stdout] test codebook::test::test_short_codebook_lsb ... ok [INFO] [stderr] Doc-tests av-bitstream [INFO] [stdout] test bytewrite::test::put_and_get_u32_be ... ok [INFO] [stdout] test bytewrite::test::put_and_get_u16_l ... 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_u8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [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" "a91a522ab19a5cd4c6e7779caa096f5a56b3642a7e2ca4539155d73a763b2373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a91a522ab19a5cd4c6e7779caa096f5a56b3642a7e2ca4539155d73a763b2373", kill_on_drop: false }` [INFO] [stdout] a91a522ab19a5cd4c6e7779caa096f5a56b3642a7e2ca4539155d73a763b2373