[INFO] fetching crate protocol 3.1.7... [INFO] testing protocol-3.1.7 against beta-2021-01-01 for beta-1.50-1 [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 beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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" "+beta-2021-01-01" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a68518492e8abdaa4b65318a666d3c036d113f82ee21050e7801187b1715489c [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" "a68518492e8abdaa4b65318a666d3c036d113f82ee21050e7801187b1715489c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a68518492e8abdaa4b65318a666d3c036d113f82ee21050e7801187b1715489c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68518492e8abdaa4b65318a666d3c036d113f82ee21050e7801187b1715489c", kill_on_drop: false }` [INFO] [stdout] a68518492e8abdaa4b65318a666d3c036d113f82ee21050e7801187b1715489c [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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef809634f61a81a2694a727c1eb686c71f6fe01e836265ceb5aca583e037ff50 [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" "ef809634f61a81a2694a727c1eb686c71f6fe01e836265ceb5aca583e037ff50", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling protocol v3.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.22s [INFO] running `Command { std: "docker" "inspect" "ef809634f61a81a2694a727c1eb686c71f6fe01e836265ceb5aca583e037ff50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef809634f61a81a2694a727c1eb686c71f6fe01e836265ceb5aca583e037ff50", kill_on_drop: false }` [INFO] [stdout] ef809634f61a81a2694a727c1eb686c71f6fe01e836265ceb5aca583e037ff50 [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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79a9c8afefcf53215431a5e8bc7f9cf541d29c616fdee50fc75f943bb798c6b7 [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" "79a9c8afefcf53215431a5e8bc7f9cf541d29c616fdee50fc75f943bb798c6b7", kill_on_drop: false }` [INFO] [stderr] Compiling protocol-derive v3.1.7 [INFO] [stderr] Compiling 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 test [unoptimized + debuginfo] target(s) in 7.89s [INFO] running `Command { std: "docker" "inspect" "79a9c8afefcf53215431a5e8bc7f9cf541d29c616fdee50fc75f943bb798c6b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79a9c8afefcf53215431a5e8bc7f9cf541d29c616fdee50fc75f943bb798c6b7", kill_on_drop: false }` [INFO] [stdout] 79a9c8afefcf53215431a5e8bc7f9cf541d29c616fdee50fc75f943bb798c6b7 [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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f350ab2179c6c15576559ed16f7ac4c95062fa1d2353efc1882aa29fd053db6a [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" "f350ab2179c6c15576559ed16f7ac4c95062fa1d2353efc1882aa29fd053db6a", kill_on_drop: false }` [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/wire/middleware/rotate_bytes.rs:41:20 [INFO] [stderr] | [INFO] [stderr] 41 | assert_eq!(RotateBytes::ROT13.encode_data(vec![0, 1, 2, 3, 4]).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/wire/middleware/rotate_bytes.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub const ROT13: RotateBytes = RotateBytes { amount: 13 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/wire/middleware/rotate_bytes.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | assert_eq!(RotateBytes::ROT13.decode_data(vec![13, 14, 15, 16, 17]).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/wire/middleware/rotate_bytes.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub const ROT13: RotateBytes = RotateBytes { amount: 13 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/wire/middleware/rotate_bytes.rs:53:20 [INFO] [stderr] | [INFO] [stderr] 53 | assert_eq!(RotateBytes::ROT13.encode_data(RotateBytes::ROT13.decode_data(vec![2, 4, 8, 32, 254]).unwrap()).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/wire/middleware/rotate_bytes.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub const ROT13: RotateBytes = RotateBytes { amount: 13 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/wire/middleware/rotate_bytes.rs:53:51 [INFO] [stderr] | [INFO] [stderr] 53 | assert_eq!(RotateBytes::ROT13.encode_data(RotateBytes::ROT13.decode_data(vec![2, 4, 8, 32, 254]).unwrap()).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/wire/middleware/rotate_bytes.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub const ROT13: RotateBytes = RotateBytes { amount: 13 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/protocol-b67ee9fbfc431fb5 [INFO] [stdout] [INFO] [stderr] Doc-tests protocol [INFO] [stdout] running 19 tests [INFO] [stdout] test logic::aligned::test::alignment_calculations::test_align_to_3_with_size_2 ... ok [INFO] [stdout] test logic::aligned::test::alignment_calculations::test_align_to_3_with_size_5 ... ok [INFO] [stdout] test types::array::test::can_write_array ... ok [INFO] [stdout] test types::array::test::can_read_array ... ok [INFO] [stdout] test types::collections::list::btree_set::test::can_be_written_and_read_back_correctly ... ok [INFO] [stdout] test types::collections::list::linked_list::test::can_be_written_and_read_back_correctly ... ok [INFO] [stdout] test types::collections::list::hash_set::test::can_be_written_and_read_back_correctly ... ok [INFO] [stdout] test types::cstring::test::can_read_cstring ... ok [INFO] [stdout] test types::collections::list::vec_deque::test::can_be_written_and_read_back_correctly ... ok [INFO] [stdout] test wire::middleware::pipeline::test::successfully_passes_data_through_the_pipeline ... ok [INFO] [stdout] test wire::middleware::rotate_bytes::test::bytes_decoded_correctly ... ok [INFO] [stdout] test wire::stream::transport::simple::test::serialises_the_data_with_32bit_length_prefix ... ok [INFO] [stdout] test wire::middleware::rotate_bytes::test::bytes_read_back_correctly ... ok [INFO] [stdout] test wire::stream::transport::simple::test::successfully_deserializes_data_with_32bit_length_prefix ... ok [INFO] [stdout] test logic::aligned::test::alignment_calculations::test_align_to_4_with_size_2 ... ok [INFO] [stdout] test wire::middleware::rotate_bytes::test::bytes_encoded_correctly ... ok [INFO] [stdout] test types::cstring::test::can_write_cstring ... ok [INFO] [stdout] test logic::aligned::test::alignment_calculations::test_aligning_when_none_needed ... ok [INFO] [stdout] test logic::aligned::test::alignment_calculations::test_align_to_4_with_size_97 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/attributes/mod.rs - attributes (line 36) ... ok [INFO] [stdout] test src/attributes/mod.rs - attributes (line 94) ... ok [INFO] [stdout] test src/attributes/mod.rs - attributes (line 59) ... ok [INFO] [stdout] test src/lib.rs - (line 131) ... ok [INFO] [stdout] test src/attributes/mod.rs - attributes (line 5) ... ok [INFO] [stdout] test src/lib.rs - (line 76) ... ok [INFO] [stdout] test src/high_level.rs - high_level::HighLevel (line 13) ... ok [INFO] [stdout] test src/logic/aligned.rs - logic::aligned::Aligned (line 25) ... ok [INFO] [stdout] test src/lib.rs - (line 50) ... ok [INFO] [stdout] test src/lib.rs - (line 105) ... ok [INFO] [stdout] test src/lib.rs - (line 11) ... ok [INFO] [stdout] test src/wire/reader.rs - wire::reader::Reader (line 23) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f350ab2179c6c15576559ed16f7ac4c95062fa1d2353efc1882aa29fd053db6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f350ab2179c6c15576559ed16f7ac4c95062fa1d2353efc1882aa29fd053db6a", kill_on_drop: false }` [INFO] [stdout] f350ab2179c6c15576559ed16f7ac4c95062fa1d2353efc1882aa29fd053db6a