[INFO] cloning repository https://github.com/hidal00p/rad
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hidal00p/rad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhidal00p%2Frad", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhidal00p%2Frad'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ceff9e49085a713d65295431e4a1c705514a4ec2
[INFO] testing hidal00p/rad against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhidal00p%2Frad" "/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/hidal00p/rad
[INFO] finished tweaking git repo https://github.com/hidal00p/rad
[INFO] tweaked toml for git repo https://github.com/hidal00p/rad written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hidal00p/rad on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hidal00p/rad 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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded once_cell v1.19.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71
[INFO] running `Command { std: "docker" "start" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71", 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" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling rad v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: static `NAME_IDX` is never used
[INFO] [stdout]  --> src/backprop/globals.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub static NAME_IDX: AtomicUsize = AtomicUsize::new(0); // AtomicUsize is thread-safe
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GRADIENT_TAPE` is never used
[INFO] [stdout]  --> src/backprop/globals.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub static GRADIENT_TAPE: Lazy<Arc<Mutex<GradientTape>>> =
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `grad` is never used
[INFO] [stdout]  --> src/backprop/grad.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn grad(loss: &Variable, desired_results: &Vec<Variable>) -> Vec<Option<Variable>> {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GradientTape` is never constructed
[INFO] [stdout]  --> src/backprop/tape.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct GradientTape {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_entry`, and `clear` are never used
[INFO] [stdout]   --> src/backprop/tape.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl GradientTape {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn add_entry(&mut self, entry: TapeEntry) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CloneableFn` is never used
[INFO] [stdout]   --> src/backprop/tape.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait CloneableFn: Fn(&Vec<Option<Variable>>) -> Vec<Variable> + Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `GradientFunction` is never used
[INFO] [stdout]   --> src/backprop/tape.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 | type GradientFunction = Box<dyn CloneableFn>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TapeEntry` is never constructed
[INFO] [stdout]   --> src/backprop/tape.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct TapeEntry {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/backprop/tape.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl TapeEntry {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 58 |     pub fn new(inputs: Vec<Variable>, outputs: Vec<Variable>, propagate: GradientFunction) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Variable` is never constructed
[INFO] [stdout]  --> src/backprop/variable.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Variable {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/backprop/variable.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Variable {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(value: f32, name: Option<String>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `pow`, `sqrt`, and `relu` are never used
[INFO] [stdout]   --> src/forward/value.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Value {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn pow(self, exp: f32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn sqrt(self) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn relu(self) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] running `Command { std: "docker" "inspect" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rad v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]   --> src/backprop/tape.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl GradientTape {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn clear(&mut self) {
[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.56s
[INFO] running `Command { std: "docker" "inspect" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: method `clear` is never used
[INFO] [stderr]   --> src/backprop/tape.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl GradientTape {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn clear(&mut self) {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rad` (bin "rad" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rad-02466a6feb75dc47)
[INFO] [stdout] 
[INFO] [stdout] running 26 tests
[INFO] [stdout] test backprop::grad::tests::test_backprop_simple_add ... ok
[INFO] [stdout] test backprop::grad::tests::test_backprop_simple_neg ... ok
[INFO] [stdout] test backprop::grad::tests::test_backprop_zero_grad ... ok
[INFO] [stdout] test backprop::grad::tests::test_backprop_simple_sub ... ok
[INFO] [stdout] test backprop::variable::tests::test_auto_name_generation ... ok
[INFO] [stdout] test backprop::grad::tests::test_backprop_simple_mul ... ok
[INFO] [stdout] test backprop::variable::tests::test_simple_div ... ok
[INFO] [stdout] test backprop::variable::tests::test_simple_mul ... ok
[INFO] [stdout] test backprop::variable::tests::test_simple_sub ... ok
[INFO] [stdout] test backprop::variable::tests::test_simple_neg ... ok
[INFO] [stdout] test backprop::variable::tests::test_variable ... ok
[INFO] [stdout] test forward::value::test::test_differentiate_chain ... ok
[INFO] [stdout] test forward::value::test::test_default_value ... ok
[INFO] [stdout] test forward::value::test::test_differentiate_f1 ... ok
[INFO] [stdout] test forward::value::test::test_differentiate_f2 ... ok
[INFO] [stdout] test forward::value::test::test_differentiate_product ... ok
[INFO] [stdout] test forward::value::test::test_differentiate_subraction ... ok
[INFO] [stdout] test forward::value::test::test_differentiate_sum ... ok
[INFO] [stdout] test forward::value::test::test_neg ... ok
[INFO] [stdout] test forward::value::test::test_neg_relu_operator ... ok
[INFO] [stdout] test forward::value::test::test_pos_relu_operator ... ok
[INFO] [stdout] test forward::value::test::test_pow_operator ... ok
[INFO] [stdout] test forward::value::test::test_sqrt_operator ... ok
[INFO] [stdout] test forward::value::test::test_zero_relu_operator ... ok
[INFO] [stdout] test backprop::variable::tests::test_simple_add ... ok
[INFO] [stdout] test backprop::grad::tests::test_backprop_simple_div ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71", kill_on_drop: false }`
[INFO] [stdout] 79d6582bbcc33c5069b89ed9b54d219ba38acb88eb2493a655582b47b8bffa71
