[INFO] cloning repository https://github.com/mDanone/data_layer_algos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/data_layer_algos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Fdata_layer_algos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Fdata_layer_algos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7a6a9437b037db2a031963689e81529cf51a57a [INFO] checking mDanone/data_layer_algos against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Fdata_layer_algos" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mDanone/data_layer_algos [INFO] finished tweaking git repo https://github.com/mDanone/data_layer_algos [INFO] tweaked toml for git repo https://github.com/mDanone/data_layer_algos written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mDanone/data_layer_algos 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] crate git repo https://github.com/mDanone/data_layer_algos 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 01aede8127b03782175c517f73dd8dc4b7800585cc312f6fbae9bc1d7df984cd [INFO] running `Command { std: "docker" "start" "-a" "01aede8127b03782175c517f73dd8dc4b7800585cc312f6fbae9bc1d7df984cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01aede8127b03782175c517f73dd8dc4b7800585cc312f6fbae9bc1d7df984cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01aede8127b03782175c517f73dd8dc4b7800585cc312f6fbae9bc1d7df984cd", kill_on_drop: false }` [INFO] [stdout] 01aede8127b03782175c517f73dd8dc4b7800585cc312f6fbae9bc1d7df984cd [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] 2af269e54acaaf796e4fc4e442824fc5c7c7a4b874a6bc7ef6d657aba404b911 [INFO] running `Command { std: "docker" "start" "-a" "2af269e54acaaf796e4fc4e442824fc5c7c7a4b874a6bc7ef6d657aba404b911", kill_on_drop: false }` [INFO] [stderr] Checking data_link_layer_algos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `get_frames_from_vectors` and `split_raw_byte_sequence` [INFO] [stdout] --> src/frame_prepare_algos/checksum_algo.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | split_raw_byte_sequence, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | MAX_FRAME_SYMBOL_SIZE, [INFO] [stdout] 11 | get_frames_from_vectors [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_frames_from_vectors` and `get_string_from_frames` [INFO] [stdout] --> src/frame_prepare_algos/flag_setup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | get_string_from_frames, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | get_frames_from_vectors [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG` is never used [INFO] [stdout] --> src/frame_prepare_algos/flag_setup.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FLAG: &str = "00000000"; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ESC` is never used [INFO] [stdout] --> src/frame_prepare_algos/flag_setup.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const ESC: &str = "00000100"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_frame_with_flags` is never used [INFO] [stdout] --> src/frame_prepare_algos/flag_setup.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_frame_with_flags<'a>(frame: &'a Vec<&'a str>) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_frames_with_flags` is never used [INFO] [stdout] --> src/frame_prepare_algos/flag_setup.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_frames_with_flags<'a>(frames: &'a [Vec<&'a str>]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_raw_byte_sequence_from_frame` is never used [INFO] [stdout] --> src/frame_prepare_algos/flag_setup.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_raw_byte_sequence_from_frame<'a>(frame: &'a mut Vec<&'a str>) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_cleaned_frame` is never used [INFO] [stdout] --> src/frame_prepare_algos/flag_setup.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_first_cleaned_frame(bytes_vec: Rc>>) -> Vec<&str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG` is never used [INFO] [stdout] --> src/frame_prepare_algos/bit_stuffing.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const FLAG: &str = "01111110"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_frame` is never used [INFO] [stdout] --> src/frame_prepare_algos/bit_stuffing.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn serialize_frame(mut frame: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_frames` is never used [INFO] [stdout] --> src/frame_prepare_algos/bit_stuffing.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn serialize_frames(frames: Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_frame` is never used [INFO] [stdout] --> src/frame_prepare_algos/bit_stuffing.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn deserialize_frame(frame: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_frames` is never used [INFO] [stdout] --> src/frame_prepare_algos/bit_stuffing.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn deserialize_frames(frames: Vec<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_redundant_bit_count` is never used [INFO] [stdout] --> src/frame_fix_algos/hamming_code.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_redundant_bit_count(frame_len: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/frame_fix_algos/hamming_code.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn encode(mut frame: String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/frame_fix_algos/hamming_code.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn decode(frame: String) -> (String, usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_and_fix` is never used [INFO] [stdout] --> src/frame_fix_algos/hamming_code.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn decode_and_fix(frame: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/frame_fix_algos/nasa_convo_code.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn encode(mut frame: String, bit_sm: &mut BitSM, states_map: &HashMap>) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/frame_fix_algos/nasa_convo_code.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn decode(frame: String, states_map: &HashMap>) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateStep` is never constructed [INFO] [stdout] --> src/frame_fix_algos/steps.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct StateStep { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/frame_fix_algos/steps.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl StateStep{ [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(sum_hd: usize, state: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitSM` is never constructed [INFO] [stdout] --> src/frame_fix_algos/state_machine.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BitSM { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/frame_fix_algos/state_machine.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl BitSM { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub fn new() -> Self { BitSM { registers: String::from("000000") } } [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | fn build_empty_states_map(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn states_map(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn get_first_control_bit(&self, next_bit: char, state: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn sum_control_bits(&self, indexes: Vec, next_bit: char, state: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn get_second_control_bit(&self, next_bit: char, state: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn get_next_control_bits(&self, next_bit: char, state: &String) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_register_size(&self) -> usize { self.registers.len() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | [INFO] [stdout] 71 | pub fn shift_register(&mut self, next_bit: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_current_state(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "2af269e54acaaf796e4fc4e442824fc5c7c7a4b874a6bc7ef6d657aba404b911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af269e54acaaf796e4fc4e442824fc5c7c7a4b874a6bc7ef6d657aba404b911", kill_on_drop: false }` [INFO] [stdout] 2af269e54acaaf796e4fc4e442824fc5c7c7a4b874a6bc7ef6d657aba404b911