[INFO] cloning repository https://github.com/SmallHum/Module06Practice06 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SmallHum/Module06Practice06" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmallHum%2FModule06Practice06", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmallHum%2FModule06Practice06'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6de58ef079048fd3de10a13e31568e9d92bb5d2d [INFO] checking SmallHum/Module06Practice06 against try#b946edaa85de45f124065f52b1bc55ba2fb4f9fb for pr-157562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmallHum%2FModule06Practice06" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SmallHum/Module06Practice06 [INFO] finished tweaking git repo https://github.com/SmallHum/Module06Practice06 [INFO] tweaked toml for git repo https://github.com/SmallHum/Module06Practice06 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SmallHum/Module06Practice06 on toolchain b946edaa85de45f124065f52b1bc55ba2fb4f9fb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SmallHum/Module06Practice06 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" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 624865b43f13f6bce0fa694c25e46b67fbc7ce282633215e317b8678b1ba16f9 [INFO] running `Command { std: "docker" "start" "624865b43f13f6bce0fa694c25e46b67fbc7ce282633215e317b8678b1ba16f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "624865b43f13f6bce0fa694c25e46b67fbc7ce282633215e317b8678b1ba16f9" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "624865b43f13f6bce0fa694c25e46b67fbc7ce282633215e317b8678b1ba16f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "624865b43f13f6bce0fa694c25e46b67fbc7ce282633215e317b8678b1ba16f9" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking module_6_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `calcCost` should have a snake case name [INFO] [stdout] --> src/strategy.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn calcCost(&self, tariff_cost: i32, people_count: i32) -> i32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `calc_cost` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `addObserver` should have a snake case name [INFO] [stdout] --> src/subject.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | fn addObserver(&mut self, observer: Box); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `add_observer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `removeObserver` should have a snake case name [INFO] [stdout] --> src/subject.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn removeObserver(&mut self, index: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_observer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `setValue` should have a snake case name [INFO] [stdout] --> src/subject.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn setValue(&mut self, new_value: i32); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `set_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setStrategy` should have a snake case name [INFO] [stdout] --> src/travel_booking_context.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn setStrategy(&mut self, new_strategy: Box) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `set_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calcCost` should have a snake case name [INFO] [stdout] --> src/travel_booking_context.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn calcCost(&self, tariff_cost: i32, people_count: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `calc_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `calcCost` should have a snake case name [INFO] [stdout] --> src/strategy.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn calcCost(&self, tariff_cost: i32, people_count: i32) -> i32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `calc_cost` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `addObserver` should have a snake case name [INFO] [stdout] --> src/subject.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | fn addObserver(&mut self, observer: Box); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `add_observer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `removeObserver` should have a snake case name [INFO] [stdout] --> src/subject.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn removeObserver(&mut self, index: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_observer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `setValue` should have a snake case name [INFO] [stdout] --> src/subject.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn setValue(&mut self, new_value: i32); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `set_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setStrategy` should have a snake case name [INFO] [stdout] --> src/travel_booking_context.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn setStrategy(&mut self, new_strategy: Box) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `set_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calcCost` should have a snake case name [INFO] [stdout] --> src/travel_booking_context.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn calcCost(&self, tariff_cost: i32, people_count: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `calc_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "624865b43f13f6bce0fa694c25e46b67fbc7ce282633215e317b8678b1ba16f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "624865b43f13f6bce0fa694c25e46b67fbc7ce282633215e317b8678b1ba16f9", kill_on_drop: false }` [INFO] [stdout] 624865b43f13f6bce0fa694c25e46b67fbc7ce282633215e317b8678b1ba16f9