[INFO] fetching crate protocol 3.1.7... [INFO] checking protocol-3.1.7 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [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 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5506ed885201ee04d31f20d47f8bc613d893d5a5524434e445f1d4a99baa14c9 [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" "5506ed885201ee04d31f20d47f8bc613d893d5a5524434e445f1d4a99baa14c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5506ed885201ee04d31f20d47f8bc613d893d5a5524434e445f1d4a99baa14c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5506ed885201ee04d31f20d47f8bc613d893d5a5524434e445f1d4a99baa14c9", kill_on_drop: false }` [INFO] [stdout] 5506ed885201ee04d31f20d47f8bc613d893d5a5524434e445f1d4a99baa14c9 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f14ee14ace77eeccc57b36bc9fde100779ed2620c06e3b40aa34f1afa08d5d54 [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" "f14ee14ace77eeccc57b36bc9fde100779ed2620c06e3b40aa34f1afa08d5d54", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Compiling quote v0.6.13 [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 25.52s [INFO] running `Command { std: "docker" "inspect" "f14ee14ace77eeccc57b36bc9fde100779ed2620c06e3b40aa34f1afa08d5d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14ee14ace77eeccc57b36bc9fde100779ed2620c06e3b40aa34f1afa08d5d54", kill_on_drop: false }` [INFO] [stdout] f14ee14ace77eeccc57b36bc9fde100779ed2620c06e3b40aa34f1afa08d5d54