[INFO] fetching crate protocol 3.1.7... [INFO] checking protocol-3.1.7 against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] extracting crate protocol 3.1.7 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate protocol 3.1.7 on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate protocol 3.1.7 [INFO] removed 6 missing examples [INFO] finished tweaking crates.io crate protocol 3.1.7 [INFO] tweaked toml for crates.io crate protocol 3.1.7 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate protocol 3.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protocol-derive v3.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "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] c1b69c592f03b08f7c9a2c8c159c89dd9cda90041a33d705f66778b81b01ac5c [INFO] running `Command { std: "docker" "start" "-a" "c1b69c592f03b08f7c9a2c8c159c89dd9cda90041a33d705f66778b81b01ac5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1b69c592f03b08f7c9a2c8c159c89dd9cda90041a33d705f66778b81b01ac5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1b69c592f03b08f7c9a2c8c159c89dd9cda90041a33d705f66778b81b01ac5c", kill_on_drop: false }` [INFO] [stdout] c1b69c592f03b08f7c9a2c8c159c89dd9cda90041a33d705f66778b81b01ac5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "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] bc524fe65d0c8ffd7137d9dc8ed1e8c35f072306a907c224b82b47ebd6e668a6 [INFO] running `Command { std: "docker" "start" "-a" "bc524fe65d0c8ffd7137d9dc8ed1e8c35f072306a907c224b82b47ebd6e668a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking protocol v3.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling protocol-derive v3.1.7 [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/wire/middleware/rotate_bytes.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(RotateBytes::ROT13.encode_data(vec![0, 1, 2, 3, 4]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/wire/middleware/rotate_bytes.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub const ROT13: RotateBytes = RotateBytes { amount: 13 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/wire/middleware/rotate_bytes.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(RotateBytes::ROT13.decode_data(vec![13, 14, 15, 16, 17]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/wire/middleware/rotate_bytes.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub const ROT13: RotateBytes = RotateBytes { amount: 13 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/wire/middleware/rotate_bytes.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(RotateBytes::ROT13.encode_data(RotateBytes::ROT13.decode_data(vec![2, 4, 8, 32, 254]).unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/wire/middleware/rotate_bytes.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub const ROT13: RotateBytes = RotateBytes { amount: 13 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/wire/middleware/rotate_bytes.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(RotateBytes::ROT13.encode_data(RotateBytes::ROT13.decode_data(vec![2, 4, 8, 32, 254]).unwrap()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/wire/middleware/rotate_bytes.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub const ROT13: RotateBytes = RotateBytes { amount: 13 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.03s [INFO] running `Command { std: "docker" "inspect" "bc524fe65d0c8ffd7137d9dc8ed1e8c35f072306a907c224b82b47ebd6e668a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc524fe65d0c8ffd7137d9dc8ed1e8c35f072306a907c224b82b47ebd6e668a6", kill_on_drop: false }` [INFO] [stdout] bc524fe65d0c8ffd7137d9dc8ed1e8c35f072306a907c224b82b47ebd6e668a6