[INFO] crate patricia_tree 0.1.8 is already in cache [INFO] extracting crate patricia_tree 0.1.8 into work/ex/clippy-test-run/sources/stable/reg/patricia_tree/0.1.8 [INFO] extracting crate patricia_tree 0.1.8 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/patricia_tree/0.1.8 [INFO] validating manifest of patricia_tree-0.1.8 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of patricia_tree-0.1.8 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing patricia_tree-0.1.8 [INFO] finished frobbing patricia_tree-0.1.8 [INFO] frobbed toml for patricia_tree-0.1.8 written to work/ex/clippy-test-run/sources/stable/reg/patricia_tree/0.1.8/Cargo.toml [INFO] started frobbing patricia_tree-0.1.8 [INFO] finished frobbing patricia_tree-0.1.8 [INFO] frobbed toml for patricia_tree-0.1.8 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/patricia_tree/0.1.8/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting patricia_tree-0.1.8 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/patricia_tree/0.1.8:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d69b90000e0cb96c12d276f4d74f5337032cf839d74c56ebfe57f0c943635a00 [INFO] running `"docker" "start" "-a" "d69b90000e0cb96c12d276f4d74f5337032cf839d74c56ebfe57f0c943635a00"` [INFO] [stderr] Checking patricia_tree v0.1.8 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:26:45 [INFO] [stderr] | [INFO] [stderr] 26 | #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:26:45 [INFO] [stderr] | [INFO] [stderr] 26 | #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:26:45 [INFO] [stderr] | [INFO] [stderr] 26 | #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:26:45 [INFO] [stderr] | [INFO] [stderr] 26 | #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] error[E0463]: can't find crate for `bytecodec` [INFO] [stderr] --> examples/encode.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate bytecodec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: Could not compile `patricia_tree`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0463]: can't find crate for `bytecodec` [INFO] [stderr] --> examples/decode.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate bytecodec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: Could not compile `patricia_tree`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/node.rs:784:37 [INFO] [stderr] | [INFO] [stderr] 784 | assert_eq!(lcp("123"), Some("123".as_bytes())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"123"` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::string_lit_as_bytes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/node.rs:785:38 [INFO] [stderr] | [INFO] [stderr] 785 | assert_eq!(lcp("1234"), Some("123".as_bytes())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"123"` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/node.rs:786:40 [INFO] [stderr] | [INFO] [stderr] 786 | assert_eq!(lcp("123456"), Some("123456".as_bytes())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"123456"` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/node.rs:787:40 [INFO] [stderr] | [INFO] [stderr] 787 | assert_eq!(lcp("1234_6"), Some("123".as_bytes())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"123"` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/node.rs:788:43 [INFO] [stderr] | [INFO] [stderr] 788 | assert_eq!(lcp("123456789"), Some("123456".as_bytes())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"123456"` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 38 [INFO] [stderr] --> src/tree.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | / fn it_works() { [INFO] [stderr] 140 | | let mut tree = PatriciaTree::new(); [INFO] [stderr] 141 | | assert_eq!(tree.insert("", 1), None); [INFO] [stderr] 142 | | assert_eq!(tree.insert("", 2), Some(1)); [INFO] [stderr] ... | [INFO] [stderr] 187 | | assert_eq!(tree2.get("baz"), Some(&8)); [INFO] [stderr] 188 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> benches/bench.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `patricia_tree`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d69b90000e0cb96c12d276f4d74f5337032cf839d74c56ebfe57f0c943635a00"` [INFO] running `"docker" "rm" "-f" "d69b90000e0cb96c12d276f4d74f5337032cf839d74c56ebfe57f0c943635a00"` [INFO] [stdout] d69b90000e0cb96c12d276f4d74f5337032cf839d74c56ebfe57f0c943635a00