[INFO] fetching crate cubesim 0.0.7... [INFO] checking cubesim-0.0.7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate cubesim 0.0.7 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate cubesim 0.0.7 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cubesim 0.0.7 [INFO] finished tweaking crates.io crate cubesim 0.0.7 [INFO] tweaked toml for crates.io crate cubesim 0.0.7 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate cubesim 0.0.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded rustc_version v0.3.3 [INFO] [stderr] Downloaded semver-parser v0.10.2 [INFO] [stderr] Downloaded darling_macro v0.13.0 [INFO] [stderr] Downloaded semver v0.11.0 [INFO] [stderr] Downloaded test-case v1.2.1 [INFO] [stderr] Downloaded async-mutex v1.4.0 [INFO] [stderr] Downloaded darling v0.13.0 [INFO] [stderr] Downloaded cached v0.24.1 [INFO] [stderr] Downloaded darling_core v0.13.0 [INFO] [stderr] Downloaded serde_json v1.0.68 [INFO] [stderr] Downloaded hashbrown v0.9.1 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded derive_more v0.99.16 [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.0 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded cached_proc_macro v0.6.2 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 060c8a1d108d197c36fee18d13b721f5b23b8bb36b308a6bd70022da0dcf3b01 [INFO] running `Command { std: "docker" "start" "-a" "060c8a1d108d197c36fee18d13b721f5b23b8bb36b308a6bd70022da0dcf3b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "060c8a1d108d197c36fee18d13b721f5b23b8bb36b308a6bd70022da0dcf3b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "060c8a1d108d197c36fee18d13b721f5b23b8bb36b308a6bd70022da0dcf3b01", kill_on_drop: false }` [INFO] [stdout] 060c8a1d108d197c36fee18d13b721f5b23b8bb36b308a6bd70022da0dcf3b01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c970ea0814464058a48c59788abfec457653862956e0b1cd677c1ec02982474 [INFO] running `Command { std: "docker" "start" "-a" "7c970ea0814464058a48c59788abfec457653862956e0b1cd677c1ec02982474", kill_on_drop: false }` [INFO] [stderr] warning: cubesim v0.0.7 (/opt/rustwide/workdir) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling test-case v1.2.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling cached_proc_macro v0.6.2 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking cached v0.24.1 [INFO] [stderr] Checking cubesim v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/facelet_cube/moves.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] 45 + .map(|s| (index_map[&s.initial] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/facelet_cube/moves.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] 45 + .map(|s| (index_map[(&s.initial)] as u16, index_map[&s.current] as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/facelet_cube/moves.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] 45 + .map(|s| (index_map[&s.initial] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/facelet_cube/moves.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] 45 + .map(|s| (index_map[(&s.initial)] as u16, index_map[&s.current] as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MoveVariant` and `Move` [INFO] [stdout] --> src/main.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use generic_cube::{Cube, Move, MoveVariant}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeoCube` [INFO] [stdout] --> tests/thistlethwaite.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use cubesim::{GeoCube, FaceletCube}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/facelet_cube/moves.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] 45 + .map(|s| (index_map[&s.initial] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/facelet_cube/moves.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] 45 + .map(|s| (index_map[(&s.initial)] as u16, index_map[&s.current] as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MoveVariant` and `Move` [INFO] [stdout] --> src/main.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use generic_cube::{Cube, Move, MoveVariant}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/facelet_cube/moves.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] 45 + .map(|s| (index_map[&s.initial] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/facelet_cube/moves.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - .map(|s| (index_map[(&s.initial)] as u16, index_map[(&s.current)] as u16)) [INFO] [stdout] 45 + .map(|s| (index_map[(&s.initial)] as u16, index_map[&s.current] as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_variant` and `with_variant` are never used [INFO] [stdout] --> src/generic_cube.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl Move { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 239 | /// Extracts the MoveVariant of a Move. [INFO] [stdout] 240 | pub fn get_variant(&self) -> MoveVariant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn with_variant(&self, variant: MoveVariant) -> Move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solved_state` is never used [INFO] [stdout] --> src/generic_cube.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn solved_state(size: CubeSize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simplify_moves` is never used [INFO] [stdout] --> src/scramble_parser.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn simplify_moves(moves: &[Move]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_variant` and `with_variant` are never used [INFO] [stdout] --> src/generic_cube.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl Move { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 239 | /// Extracts the MoveVariant of a Move. [INFO] [stdout] 240 | pub fn get_variant(&self) -> MoveVariant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn with_variant(&self, variant: MoveVariant) -> Move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solved_state` is never used [INFO] [stdout] --> src/generic_cube.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn solved_state(size: CubeSize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simplify_moves` is never used [INFO] [stdout] --> src/scramble_parser.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn simplify_moves(moves: &[Move]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7c970ea0814464058a48c59788abfec457653862956e0b1cd677c1ec02982474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c970ea0814464058a48c59788abfec457653862956e0b1cd677c1ec02982474", kill_on_drop: false }` [INFO] [stdout] 7c970ea0814464058a48c59788abfec457653862956e0b1cd677c1ec02982474