[INFO] fetching crate protocol 3.1.7... [INFO] checking protocol-3.1.7 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] extracting crate protocol 3.1.7 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate protocol 3.1.7 on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "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-13/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" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8ea61d0ced4aab8bc1ad6d6519e32c051d21c51d905f25ff358f147d7333c1b [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" "a8ea61d0ced4aab8bc1ad6d6519e32c051d21c51d905f25ff358f147d7333c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8ea61d0ced4aab8bc1ad6d6519e32c051d21c51d905f25ff358f147d7333c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8ea61d0ced4aab8bc1ad6d6519e32c051d21c51d905f25ff358f147d7333c1b", kill_on_drop: false }` [INFO] [stdout] a8ea61d0ced4aab8bc1ad6d6519e32c051d21c51d905f25ff358f147d7333c1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "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] 48bfa88e18fd014bf232d12716a107c37e063eb85ca23b72de28324b22f846ac [INFO] running `Command { std: "docker" "start" "-a" "48bfa88e18fd014bf232d12716a107c37e063eb85ca23b72de28324b22f846ac", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking object v0.20.0 [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] Compiling num-traits v0.2.12 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking backtrace v0.3.50 [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 13.78s [INFO] running `Command { std: "docker" "inspect" "48bfa88e18fd014bf232d12716a107c37e063eb85ca23b72de28324b22f846ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48bfa88e18fd014bf232d12716a107c37e063eb85ca23b72de28324b22f846ac", kill_on_drop: false }` [INFO] [stdout] 48bfa88e18fd014bf232d12716a107c37e063eb85ca23b72de28324b22f846ac