[INFO] fetching crate bitbuffer_derive 0.9.0... [INFO] checking bitbuffer_derive-0.9.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate bitbuffer_derive 0.9.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate bitbuffer_derive 0.9.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitbuffer_derive 0.9.0 [INFO] finished tweaking crates.io crate bitbuffer_derive 0.9.0 [INFO] tweaked toml for crates.io crate bitbuffer_derive 0.9.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] 3bc8c279a8fe8d87e77a783752ccab7e61719d645b8ef439ed6dd29773fc5ede [INFO] running `Command { std: "docker" "start" "-a" "3bc8c279a8fe8d87e77a783752ccab7e61719d645b8ef439ed6dd29773fc5ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bc8c279a8fe8d87e77a783752ccab7e61719d645b8ef439ed6dd29773fc5ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bc8c279a8fe8d87e77a783752ccab7e61719d645b8ef439ed6dd29773fc5ede", kill_on_drop: false }` [INFO] [stdout] 3bc8c279a8fe8d87e77a783752ccab7e61719d645b8ef439ed6dd29773fc5ede [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 632b099df5ca62c5e41d9a1c596c83d708a464471e954cd99feacb3018ac5ab9 [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" "632b099df5ca62c5e41d9a1c596c83d708a464471e954cd99feacb3018ac5ab9", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling err-derive v0.3.0 [INFO] [stderr] Checking syn v1.0.74 [INFO] [stderr] Compiling syn_util v0.4.2 [INFO] [stderr] Compiling bitbuffer_derive v0.9.0 [INFO] [stderr] Compiling bitbuffer_derive v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bitbuffer v0.9.9 [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | let mut stream = BitWriteStream::new(&mut data, LittleEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] 55 | stream.write(&val).unwrap(); [INFO] [stdout] 56 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 57 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, LittleEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 71 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 76 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 77 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:104:53 [INFO] [stdout] | [INFO] [stdout] 93 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 104 | let mut read = BitReadStream::::from(data.as_slice()); [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 93 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 113 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 114 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:136:53 [INFO] [stdout] | [INFO] [stdout] 129 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 136 | let mut read = BitReadStream::::from(data.as_slice()); [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 141 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 129 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 140 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 141 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 158 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 162 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 163 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 188 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 195 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 196 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 210 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 220 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 221 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 236 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 243 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 244 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 254 | let mut stream = BitWriteStream::new(&mut data, LittleEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 259 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 260 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, LittleEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 267 | let mut stream = BitWriteStream::new(&mut data, LittleEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] 268 | stream.write(&EmptyStruct).unwrap(); [INFO] [stdout] 269 | assert_eq!(Vec::::new(), data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 270 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, LittleEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `data` as immutable because it is also borrowed as mutable [INFO] [stdout] --> tests/write.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 283 | let mut stream = BitWriteStream::new(&mut data, BigEndian); [INFO] [stdout] | --------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 290 | assert_eq!(bytes, data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 291 | } [INFO] [stdout] | - mutable borrow might be used here, when `stream` is dropped and runs the destructor for type `BitWriteStream<'_, BigEndian>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitbuffer_derive` due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "632b099df5ca62c5e41d9a1c596c83d708a464471e954cd99feacb3018ac5ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632b099df5ca62c5e41d9a1c596c83d708a464471e954cd99feacb3018ac5ab9", kill_on_drop: false }` [INFO] [stdout] 632b099df5ca62c5e41d9a1c596c83d708a464471e954cd99feacb3018ac5ab9