[INFO] cloning repository https://github.com/Insem/Obstacles-calculation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Insem/Obstacles-calculation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInsem%2FObstacles-calculation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInsem%2FObstacles-calculation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afca7281bf5934f95a248f974804a58cc2bbd3d7 [INFO] documenting Insem/Obstacles-calculation against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInsem%2FObstacles-calculation" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Insem/Obstacles-calculation on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Insem/Obstacles-calculation [INFO] finished tweaking git repo https://github.com/Insem/Obstacles-calculation [INFO] tweaked toml for git repo https://github.com/Insem/Obstacles-calculation written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Insem/Obstacles-calculation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6146a87a50a45eded02cec652cf8f7e6a2e1e2ad32e439e5f13072e65992e33 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d6146a87a50a45eded02cec652cf8f7e6a2e1e2ad32e439e5f13072e65992e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6146a87a50a45eded02cec652cf8f7e6a2e1e2ad32e439e5f13072e65992e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6146a87a50a45eded02cec652cf8f7e6a2e1e2ad32e439e5f13072e65992e33", kill_on_drop: false }` [INFO] [stdout] d6146a87a50a45eded02cec652cf8f7e6a2e1e2ad32e439e5f13072e65992e33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e745245a5e58fc381c43af33fa9d000ca59f5f49dd958ff4c3a6faab4e7ad5c6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e745245a5e58fc381c43af33fa9d000ca59f5f49dd958ff4c3a6faab4e7ad5c6", kill_on_drop: false }` [INFO] [stderr] Documenting obstacles_calculation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `right` should have an upper camel case name [INFO] [stdout] --> src/euclid/digitRange.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | right, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `left` should have an upper camel case name [INFO] [stdout] --> src/euclid/digitRange.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | left, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `digitRange` should have a snake case name [INFO] [stdout] --> src/euclid/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod digitRange; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `digit_range` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLeft` should have a snake case name [INFO] [stdout] --> src/euclid/digitRange.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn getLeft(angle: f32) -> [MathRange; 2] { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getRight` should have a snake case name [INFO] [stdout] --> src/euclid/digitRange.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn getRight(angle: f32) -> [MathRange; 1] { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `containRanges` should have a snake case name [INFO] [stdout] --> src/euclid/digitRange.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn containRanges(rangeArr: &[MathRange], num: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `contain_ranges` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rangeArr` should have a snake case name [INFO] [stdout] --> src/euclid/digitRange.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn containRanges(rangeArr: &[MathRange], num: f32) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `range_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `toDegrees` should have a snake case name [INFO] [stdout] --> src/euclid/digitRange.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn toDegrees(r: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `to_degrees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lineArr` should have a snake case name [INFO] [stdout] --> src/euclid/figure.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(lineArr: std::vec::Vec) -> Figure { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `line_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkPoint` should have a snake case name [INFO] [stdout] --> src/euclid/figure.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn checkPoint(&self, point: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `check_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkLines` should have a snake case name [INFO] [stdout] --> src/euclid/figure.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn checkLines(lineArr: &std::vec::Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `check_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lineArr` should have a snake case name [INFO] [stdout] --> src/euclid/figure.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | fn checkLines(lineArr: &std::vec::Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `line_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A_point` should have a snake case name [INFO] [stdout] --> src/euclid/line.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub A_point: Point, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `a_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B_point` should have a snake case name [INFO] [stdout] --> src/euclid/line.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub B_point: Point, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `firstPoint` should have a snake case name [INFO] [stdout] --> src/euclid/line.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(firstPoint: Point, secondPoint: Point, wise: Wise) -> Line { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `first_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `secondPoint` should have a snake case name [INFO] [stdout] --> src/euclid/line.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(firstPoint: Point, secondPoint: Point, wise: Wise) -> Line { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `second_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startCoordinatesLine` should have a snake case name [INFO] [stdout] --> src/euclid/scale.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn startCoordinatesLine(l: &Line) -> Line { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_coordinates_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `startCoordinatesPoint` should have a snake case name [INFO] [stdout] --> src/euclid/scale.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn startCoordinatesPoint(A: &Point, P: &Point) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `start_coordinates_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/euclid/scale.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn startCoordinatesPoint(A: &Point, P: &Point) -> Point { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/euclid/scale.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn startCoordinatesPoint(A: &Point, P: &Point) -> Point { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detectPoint` should have a snake case name [INFO] [stdout] --> src/euclid/scale.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn detectPoint(line: &Line, startPoint: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `detect_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `startPoint` should have a snake case name [INFO] [stdout] --> src/euclid/scale.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn detectPoint(line: &Line, startPoint: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `start_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `antiNum` should have a snake case name [INFO] [stdout] --> src/euclid/scale.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn antiNum(num: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `anti_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `toDegrees` should have a snake case name [INFO] [stdout] --> src/euclid/scale.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn toDegrees(r: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `to_degrees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "e745245a5e58fc381c43af33fa9d000ca59f5f49dd958ff4c3a6faab4e7ad5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e745245a5e58fc381c43af33fa9d000ca59f5f49dd958ff4c3a6faab4e7ad5c6", kill_on_drop: false }` [INFO] [stdout] e745245a5e58fc381c43af33fa9d000ca59f5f49dd958ff4c3a6faab4e7ad5c6