[INFO] fetching crate cassandra-proto 0.1.2... [INFO] checking cassandra-proto-0.1.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate cassandra-proto 0.1.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate cassandra-proto 0.1.2 [INFO] finished tweaking crates.io crate cassandra-proto 0.1.2 [INFO] tweaked toml for crates.io crate cassandra-proto 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cassandra-proto 0.1.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.2) [INFO] [stderr] Adding snap v0.2.5 (available: v1.1.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.43) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snap v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7dc904b63a418f59b5d186a2e2b15229bafd6cdd018ba3e018a58c39497f61f [INFO] running `Command { std: "docker" "start" "-a" "a7dc904b63a418f59b5d186a2e2b15229bafd6cdd018ba3e018a58c39497f61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7dc904b63a418f59b5d186a2e2b15229bafd6cdd018ba3e018a58c39497f61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7dc904b63a418f59b5d186a2e2b15229bafd6cdd018ba3e018a58c39497f61f", kill_on_drop: false }` [INFO] [stdout] a7dc904b63a418f59b5d186a2e2b15229bafd6cdd018ba3e018a58c39497f61f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 400c5aad121f7265afff3ae98c3c2b7041a1d91433f2a6f0ac67d8f64395f8e5 [INFO] running `Command { std: "docker" "start" "-a" "400c5aad121f7265afff3ae98c3c2b7041a1d91433f2a6f0ac67d8f64395f8e5", kill_on_drop: false }` [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking cassandra-proto v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `v5` [INFO] [stdout] --> src/frame/mod.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | } else if cfg!(feature = "v4") || cfg!(feature = "v5") { [INFO] [stdout] | ^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"v4"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `appveyor`, `default`, `v3`, and `v4` [INFO] [stdout] = help: consider adding `v5` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `v5` [INFO] [stdout] --> src/frame/mod.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | } else if cfg!(feature = "v4") || cfg!(feature = "v5") { [INFO] [stdout] | ^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"v4"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `appveyor`, `default`, `v3`, and `v4` [INFO] [stdout] = help: consider adding `v5` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/query/query_params_builder.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | /// Sets new flags. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/query/query_params_builder.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | /// Sets new with_names parameter value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/query/query_params_builder.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | /// Sets new serial_consistency value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/query/query_params_builder.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | /// Sets new timestamp value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/error.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/frame/parser.rs:49:51 [INFO] [stdout] | [INFO] [stdout] 49 | .map_err(|err| error::Error::from(err.description()))? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/frame/parser_async.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | .map_err(|err| error::Error::from(err.description()))? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `v5` [INFO] [stdout] --> src/frame/mod.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | } else if cfg!(feature = "v4") || cfg!(feature = "v5") { [INFO] [stdout] | ^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"v4"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `appveyor`, `default`, `v3`, and `v4` [INFO] [stdout] = help: consider adding `v5` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `v5` [INFO] [stdout] --> src/frame/mod.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | } else if cfg!(feature = "v4") || cfg!(feature = "v5") { [INFO] [stdout] | ^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"v4"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `appveyor`, `default`, `v3`, and `v4` [INFO] [stdout] = help: consider adding `v5` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/query/query_params_builder.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | /// Sets new flags. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/query/query_params_builder.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | /// Sets new with_names parameter value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/query/query_params_builder.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | /// Sets new serial_consistency value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/query/query_params_builder.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | /// Sets new timestamp value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/error.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/frame/parser.rs:49:51 [INFO] [stdout] | [INFO] [stdout] 49 | .map_err(|err| error::Error::from(err.description()))? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/frame/parser_async.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | .map_err(|err| error::Error::from(err.description()))? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | Error::FromUtf8(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | Error::FromUtf8(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame/frame_execute.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(id: &CBytesShort, query_parameters: QueryParams) -> BodyReqExecute { [INFO] [stdout] | ^^^^^^^^^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(id: &CBytesShort, query_parameters: QueryParams) -> BodyReqExecute<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/frame/frame_execute.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(id: &CBytesShort, query_parameters: QueryParams) -> BodyReqExecute { [INFO] [stdout] | ^^^^^^^^^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(id: &CBytesShort, query_parameters: QueryParams) -> BodyReqExecute<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/types/mod.rs:876:39 [INFO] [stdout] | [INFO] [stdout] 876 | let bytes: [u8; 2] = unsafe { transmute(12u16.to_be()) }; // or .to_le() [INFO] [stdout] | ---------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/types/mod.rs:883:39 [INFO] [stdout] | [INFO] [stdout] 883 | let bytes: [u8; 8] = unsafe { transmute(12i64.to_be()) }; // or .to_le() [INFO] [stdout] | ---------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "400c5aad121f7265afff3ae98c3c2b7041a1d91433f2a6f0ac67d8f64395f8e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "400c5aad121f7265afff3ae98c3c2b7041a1d91433f2a6f0ac67d8f64395f8e5", kill_on_drop: false }` [INFO] [stdout] 400c5aad121f7265afff3ae98c3c2b7041a1d91433f2a6f0ac67d8f64395f8e5