[INFO] fetching crate protocol 3.1.7... [INFO] checking protocol-3.1.7 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate protocol 3.1.7 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate protocol 3.1.7 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-6/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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] 06658b892a0701febae565cbe0034d069826a4d4ea592b6741bc67a7de8e4d8d [INFO] running `Command { std: "docker" "start" "-a" "06658b892a0701febae565cbe0034d069826a4d4ea592b6741bc67a7de8e4d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06658b892a0701febae565cbe0034d069826a4d4ea592b6741bc67a7de8e4d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06658b892a0701febae565cbe0034d069826a4d4ea592b6741bc67a7de8e4d8d", kill_on_drop: false }` [INFO] [stdout] 06658b892a0701febae565cbe0034d069826a4d4ea592b6741bc67a7de8e4d8d [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a28e05ca45fd6c8e523c3fcec6813990b08da372e4b037ea4fbdeca74b4fcbf0 [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" "a28e05ca45fd6c8e523c3fcec6813990b08da372e4b037ea4fbdeca74b4fcbf0", kill_on_drop: false }` [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling protocol-derive v3.1.7 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking protocol v3.1.7 (/opt/rustwide/workdir) [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 5.28s [INFO] running `Command { std: "docker" "inspect" "a28e05ca45fd6c8e523c3fcec6813990b08da372e4b037ea4fbdeca74b4fcbf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28e05ca45fd6c8e523c3fcec6813990b08da372e4b037ea4fbdeca74b4fcbf0", kill_on_drop: false }` [INFO] [stdout] a28e05ca45fd6c8e523c3fcec6813990b08da372e4b037ea4fbdeca74b4fcbf0