[INFO] cloning repository https://github.com/kamalbowselvam/revdiff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamalbowselvam/revdiff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamalbowselvam%2Frevdiff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamalbowselvam%2Frevdiff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d971ac29216c174d569170433e325ec186992d4 [INFO] building kamalbowselvam/revdiff against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamalbowselvam%2Frevdiff" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kamalbowselvam/revdiff [INFO] finished tweaking git repo https://github.com/kamalbowselvam/revdiff [INFO] tweaked toml for git repo https://github.com/kamalbowselvam/revdiff written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kamalbowselvam/revdiff on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kamalbowselvam/revdiff 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f7e5ea29a0c138db1e4f6ae814774375d70e0ba04b83fefa942ccd9b3f8a670 [INFO] running `Command { std: "docker" "start" "-a" "1f7e5ea29a0c138db1e4f6ae814774375d70e0ba04b83fefa942ccd9b3f8a670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f7e5ea29a0c138db1e4f6ae814774375d70e0ba04b83fefa942ccd9b3f8a670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7e5ea29a0c138db1e4f6ae814774375d70e0ba04b83fefa942ccd9b3f8a670", kill_on_drop: false }` [INFO] [stdout] 1f7e5ea29a0c138db1e4f6ae814774375d70e0ba04b83fefa942ccd9b3f8a670 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54010d369096ef6e3a2eec6c8b454695e4d47a1c772502395b03c18d48d42725 [INFO] running `Command { std: "docker" "start" "-a" "54010d369096ef6e3a2eec6c8b454695e4d47a1c772502395b03c18d48d42725", kill_on_drop: false }` [INFO] [stderr] Compiling rust1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/node.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | pub fn add_children(&mut self, node: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn add_operation(&mut self, op: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_value(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_grad(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn increase_grad(&mut self, grad: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn new(value: i32, name: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn backward( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Propogation` is never used [INFO] [stdout] --> src/node/operation.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Propogation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Opeartion` is never used [INFO] [stdout] --> src/node/operation.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Opeartion { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Add` is never constructed [INFO] [stdout] --> src/node/operation/add.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Add { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_parents`, `forward`, and `backward` are never used [INFO] [stdout] --> src/node/operation/add.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Add { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add_parents(&mut self, node: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn forward( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn backward(&self, grad: Box, node: Option>>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mul` is never constructed [INFO] [stdout] --> src/node/operation/mul.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Mul { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_parents`, `forward`, and `backward` are never used [INFO] [stdout] --> src/node/operation/mul.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Mul { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn add_parents(&mut self, node: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn forward( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn backward(&self, grad: Box, node: Option>>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_grad` is never used [INFO] [stdout] --> src/node.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_grad(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "54010d369096ef6e3a2eec6c8b454695e4d47a1c772502395b03c18d48d42725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54010d369096ef6e3a2eec6c8b454695e4d47a1c772502395b03c18d48d42725", kill_on_drop: false }` [INFO] [stdout] 54010d369096ef6e3a2eec6c8b454695e4d47a1c772502395b03c18d48d42725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e29aa6159c36934ea19b31ae46cc6bac0a9e9421b9cf3059e0714bb3c00e3f4f [INFO] running `Command { std: "docker" "start" "-a" "e29aa6159c36934ea19b31ae46cc6bac0a9e9421b9cf3059e0714bb3c00e3f4f", kill_on_drop: false }` [INFO] [stderr] Compiling rust1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/node.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | pub fn add_children(&mut self, node: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn add_operation(&mut self, op: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_value(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_grad(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn increase_grad(&mut self, grad: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn new(value: i32, name: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn backward( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Propogation` is never used [INFO] [stdout] --> src/node/operation.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Propogation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Opeartion` is never used [INFO] [stdout] --> src/node/operation.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Opeartion { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Add` is never constructed [INFO] [stdout] --> src/node/operation/add.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Add { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_parents`, `forward`, and `backward` are never used [INFO] [stdout] --> src/node/operation/add.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Add { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add_parents(&mut self, node: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn forward( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn backward(&self, grad: Box, node: Option>>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mul` is never constructed [INFO] [stdout] --> src/node/operation/mul.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Mul { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_parents`, `forward`, and `backward` are never used [INFO] [stdout] --> src/node/operation/mul.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Mul { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn add_parents(&mut self, node: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn forward( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn backward(&self, grad: Box, node: Option>>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node::operation::add::Add` [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use node::operation::add::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_grad` is never used [INFO] [stdout] --> src/node.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_grad(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "e29aa6159c36934ea19b31ae46cc6bac0a9e9421b9cf3059e0714bb3c00e3f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29aa6159c36934ea19b31ae46cc6bac0a9e9421b9cf3059e0714bb3c00e3f4f", kill_on_drop: false }` [INFO] [stdout] e29aa6159c36934ea19b31ae46cc6bac0a9e9421b9cf3059e0714bb3c00e3f4f