[INFO] fetching crate bitbuffer_derive 0.9.0... [INFO] checking bitbuffer_derive-0.9.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate bitbuffer_derive 0.9.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate bitbuffer_derive 0.9.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded err-derive v0.3.0 [INFO] [stderr] Downloaded bitbuffer_derive v0.9.0 [INFO] [stderr] Downloaded bitbuffer v0.9.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] 3d6eb67f6f94d4731d0a9a1935cedd5b0cbd43be68314856ca6f5b899198edb4 [INFO] running `Command { std: "docker" "start" "-a" "3d6eb67f6f94d4731d0a9a1935cedd5b0cbd43be68314856ca6f5b899198edb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d6eb67f6f94d4731d0a9a1935cedd5b0cbd43be68314856ca6f5b899198edb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d6eb67f6f94d4731d0a9a1935cedd5b0cbd43be68314856ca6f5b899198edb4", kill_on_drop: false }` [INFO] [stdout] 3d6eb67f6f94d4731d0a9a1935cedd5b0cbd43be68314856ca6f5b899198edb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 1cd92e3cdfd92ffa2380baf3dd1bf834357dc66223cee5f2ad1890e648b57fc6 [INFO] running `Command { std: "docker" "start" "-a" "1cd92e3cdfd92ffa2380baf3dd1bf834357dc66223cee5f2ad1890e648b57fc6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling err-derive v0.3.0 [INFO] [stderr] Checking syn_util v0.4.2 [INFO] [stderr] Checking bitbuffer_derive v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling bitbuffer_derive v0.9.0 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1cd92e3cdfd92ffa2380baf3dd1bf834357dc66223cee5f2ad1890e648b57fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd92e3cdfd92ffa2380baf3dd1bf834357dc66223cee5f2ad1890e648b57fc6", kill_on_drop: false }` [INFO] [stdout] 1cd92e3cdfd92ffa2380baf3dd1bf834357dc66223cee5f2ad1890e648b57fc6