[INFO] cloning repository https://github.com/trago/rust-tutorial
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trago/rust-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrago%2Frust-tutorial", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrago%2Frust-tutorial'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2449f05f3d367fbe19ac2d89b2f6f953eb02eec
[INFO] checking trago/rust-tutorial against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrago%2Frust-tutorial" "/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/trago/rust-tutorial
[INFO] finished tweaking git repo https://github.com/trago/rust-tutorial
[INFO] tweaked toml for git repo https://github.com/trago/rust-tutorial written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/trago/rust-tutorial on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/trago/rust-tutorial 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded psm v0.1.21
[INFO] [stderr]   Downloaded serde_stacker v0.1.6
[INFO] [stderr]   Downloaded cc v1.0.74
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0d800b186c7b7907a268e7503ef006dde36b62cbf2591e5167e59de59d948a21
[INFO] running `Command { std: "docker" "start" "-a" "0d800b186c7b7907a268e7503ef006dde36b62cbf2591e5167e59de59d948a21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d800b186c7b7907a268e7503ef006dde36b62cbf2591e5167e59de59d948a21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d800b186c7b7907a268e7503ef006dde36b62cbf2591e5167e59de59d948a21", kill_on_drop: false }`
[INFO] [stdout] 0d800b186c7b7907a268e7503ef006dde36b62cbf2591e5167e59de59d948a21
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03b84e7fc5a19c96256c3bba4309559c5c2083a82e7bb2b853c58cbfa59bb176
[INFO] running `Command { std: "docker" "start" "-a" "03b84e7fc5a19c96256c3bba4309559c5c2083a82e7bb2b853c58cbfa59bb176", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.74
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]    Compiling serde_json v1.0.87
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]     Checking serde_stacker v0.1.6
[INFO] [stderr]     Checking hello_cargo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]    --> src/main.rs:124:33
[INFO] [stdout]     |
[INFO] [stdout] 124 |         pub fn has_point(&self, p1: &Point) -> bool {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sq`
[INFO] [stdout]    --> src/main.rs:128:34
[INFO] [stdout]     |
[INFO] [stdout] 128 |         pub fn has_square(&self, sq: &Square) -> bool {
[INFO] [stdout]     |                                  ^^ help: if this is intentional, prefix it with an underscore: `_sq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sq`
[INFO] [stdout]    --> src/main.rs:132:42
[INFO] [stdout]     |
[INFO] [stdout] 132 |         pub fn manhattan_distance(&self, sq: &Square) -> f64 {
[INFO] [stdout]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_sq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consume_s` is never used
[INFO] [stdout]  --> src/main.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn consume_s(s: String) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `State` is never used
[INFO] [stdout]  --> src/main.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum State<T, Q = i32> {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_val` is never used
[INFO] [stdout]   --> src/ml_data.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn calc_val(v1: f32, v2:f32) -> Option<f32>{
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_rate` is never used
[INFO] [stdout]   --> src/ml_data.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn sum_rate(v1: f32, v2:f32, val: f32) -> Option<f32>{
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/main.rs:68:16
[INFO] [stdout]     |
[INFO] [stdout]  38 |     impl Square {
[INFO] [stdout]     |     ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  68 |         pub fn erosion(&mut self, d: f64) {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |         pub fn dilate_x(&mut self, d: f64) -> () {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |         pub fn dilate_y(&mut self, d: f64) -> () {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |         pub fn erosion_x(&mut self, d: f64) -> () {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |         pub fn erosion_y(&mut self, d: f64) -> () {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |         pub fn has_point(&self, p1: &Point) -> bool {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |         pub fn has_square(&self, sq: &Square) -> bool {
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |         pub fn manhattan_distance(&self, sq: &Square) -> f64 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `erosion_test` is never used
[INFO] [stdout]    --> src/main.rs:212:8
[INFO] [stdout]     |
[INFO] [stdout] 212 |     fn erosion_test() {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]    --> src/main.rs:124:33
[INFO] [stdout]     |
[INFO] [stdout] 124 |         pub fn has_point(&self, p1: &Point) -> bool {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sq`
[INFO] [stdout]    --> src/main.rs:128:34
[INFO] [stdout]     |
[INFO] [stdout] 128 |         pub fn has_square(&self, sq: &Square) -> bool {
[INFO] [stdout]     |                                  ^^ help: if this is intentional, prefix it with an underscore: `_sq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sq`
[INFO] [stdout]    --> src/main.rs:132:42
[INFO] [stdout]     |
[INFO] [stdout] 132 |         pub fn manhattan_distance(&self, sq: &Square) -> f64 {
[INFO] [stdout]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_sq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consume_s` is never used
[INFO] [stdout]  --> src/main.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn consume_s(s: String) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `State` is never used
[INFO] [stdout]  --> src/main.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum State<T, Q = i32> {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MLData` is never constructed
[INFO] [stdout]  --> src/ml_data.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct MLData {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/ml_data.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Node {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_fnz_id` is never used
[INFO] [stdout]   --> src/ml_data.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn default_fnz_id() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeNode` is never constructed
[INFO] [stdout]   --> src/ml_data.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct TreeNode {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MLDataContainer` is never constructed
[INFO] [stdout]   --> src/ml_data.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct MLDataContainer {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_ml_json` is never used
[INFO] [stdout]   --> src/ml_data.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn read_ml_json(path: &Path) -> MLDataContainer{
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_val` is never used
[INFO] [stdout]   --> src/ml_data.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn calc_val(v1: f32, v2:f32) -> Option<f32>{
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_rate` is never used
[INFO] [stdout]   --> src/ml_data.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn sum_rate(v1: f32, v2:f32, val: f32) -> Option<f32>{
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person` is never constructed
[INFO] [stdout]   --> src/ml_data.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | struct Person {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/main.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub struct Point {
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Square` is never constructed
[INFO] [stdout]   --> src/main.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub struct Square {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `x`, and `y` are never used
[INFO] [stdout]   --> src/main.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 25 |     impl Point {
[INFO] [stdout]    |     ---------- associated items in this implementation
[INFO] [stdout] 26 |         pub fn new(x: f64, y: f64) -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |         pub fn x(&self) -> f64 {
[INFO] [stdout]    |                ^
[INFO] [stdout] ...
[INFO] [stdout] 33 |         pub fn y(&self) -> f64 {
[INFO] [stdout]    |                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/main.rs:39:16
[INFO] [stdout]     |
[INFO] [stdout]  38 |     impl Square {
[INFO] [stdout]     |     ----------- associated items in this implementation
[INFO] [stdout]  39 |         pub fn new(p1: Point, p2: Point) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |         pub fn lower(&self) -> &Point {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |         pub fn upper(&self) -> &Point {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |         pub fn height(&self) -> f64 {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  60 |         pub fn width(&self) -> f64 {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |         pub fn area(&self) -> f64 {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |         pub fn erosion(&mut self, d: f64) {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |         pub fn dilate(&mut self, d: f64) -> () {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |         pub fn intersection(&self, other: &Self) -> Self {
[INFO] [stdout]     |                ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |         pub fn union(&self, other: &Self) -> Self {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |         pub fn dilate_x(&mut self, d: f64) -> () {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |         pub fn dilate_y(&mut self, d: f64) -> () {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |         pub fn erosion_x(&mut self, d: f64) -> () {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |         pub fn erosion_y(&mut self, d: f64) -> () {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |         pub fn has_point(&self, p1: &Point) -> bool {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |         pub fn has_square(&self, sq: &Square) -> bool {
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |         pub fn manhattan_distance(&self, sq: &Square) -> f64 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.65s
[INFO] running `Command { std: "docker" "inspect" "03b84e7fc5a19c96256c3bba4309559c5c2083a82e7bb2b853c58cbfa59bb176", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03b84e7fc5a19c96256c3bba4309559c5c2083a82e7bb2b853c58cbfa59bb176", kill_on_drop: false }`
[INFO] [stdout] 03b84e7fc5a19c96256c3bba4309559c5c2083a82e7bb2b853c58cbfa59bb176
