[INFO] cloning repository https://github.com/takenta/feedforward_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takenta/feedforward_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakenta%2Ffeedforward_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakenta%2Ffeedforward_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fac08e6bb2bc9817edfe9d2789a8787bac3ef699 [INFO] checking takenta/feedforward_demo against master#1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakenta%2Ffeedforward_demo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takenta/feedforward_demo on toolchain 1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/takenta/feedforward_demo [INFO] finished tweaking git repo https://github.com/takenta/feedforward_demo [INFO] tweaked toml for git repo https://github.com/takenta/feedforward_demo written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/takenta/feedforward_demo 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" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking takenta/feedforward_demo against try#a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakenta%2Ffeedforward_demo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takenta/feedforward_demo on toolchain a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/takenta/feedforward_demo [INFO] finished tweaking git repo https://github.com/takenta/feedforward_demo [INFO] tweaked toml for git repo https://github.com/takenta/feedforward_demo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/takenta/feedforward_demo 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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cb99cb7df51c3e47206e21ae35f03dfe9f75f954dfef1261ca7be85eb54c0aa [INFO] running `Command { std: "docker" "start" "-a" "4cb99cb7df51c3e47206e21ae35f03dfe9f75f954dfef1261ca7be85eb54c0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cb99cb7df51c3e47206e21ae35f03dfe9f75f954dfef1261ca7be85eb54c0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb99cb7df51c3e47206e21ae35f03dfe9f75f954dfef1261ca7be85eb54c0aa", kill_on_drop: false }` [INFO] [stdout] 4cb99cb7df51c3e47206e21ae35f03dfe9f75f954dfef1261ca7be85eb54c0aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94413b6d5a870b6099c6aa147ef1dff3e4c6350b06440d33df3dec18f8d49076 [INFO] running `Command { std: "docker" "start" "-a" "94413b6d5a870b6099c6aa147ef1dff3e4c6350b06440d33df3dec18f8d49076", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.10 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking deep_learning v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools/feed_forward.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | func: &'a Box DualNumber>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | func: &'a Box DualNumber>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools/feed_forward.rs:11:81 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(weights: Vec, len_row: usize, bias: Vec, func: &'a Box DualNumber>) -> FeedForward<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(weights: Vec, len_row: usize, bias: Vec, func: &'a Box DualNumber>) -> FeedForward<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools/feed_forward.rs:37:122 [INFO] [stdout] | [INFO] [stdout] 37 | ...ers: &'b Vec, func_error: &'b Box DualNumber>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn calc_error_output<'b>(&self, outputs: &'b Vec, teachers: &'b Vec, func_error: &'b Box DualNumber>) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools/feed_forward.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | func: &'a Box DualNumber>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | func: &'a Box DualNumber>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools/feed_forward.rs:11:81 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(weights: Vec, len_row: usize, bias: Vec, func: &'a Box DualNumber>) -> FeedForward<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(weights: Vec, len_row: usize, bias: Vec, func: &'a Box DualNumber>) -> FeedForward<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools/feed_forward.rs:37:122 [INFO] [stdout] | [INFO] [stdout] 37 | ...ers: &'b Vec, func_error: &'b Box DualNumber>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn calc_error_output<'b>(&self, outputs: &'b Vec, teachers: &'b Vec, func_error: &'b Box DualNumber>) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | let func_hide_rel: Box DualNumber> = Box::new(move |x: DualNumber| (DualNumber::new(1.0) - (-x).exp()).recip()); //... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | let func_hide_rel: Box DualNumber> = Box::new(move |x: DualNumber| (DualNumber::new(1.0) - (-x).exp()).recip()); // 標準シグモイド関数 [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let func_output: Box DualNumber> = Box::new(move |x: DualNumber| x); // 恒等写像 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | let func_output: Box DualNumber> = Box::new(move |x: DualNumber| x); // 恒等写像 [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let error_func: Box DualNumber> = Box::new(move |&output, &teacher| (output-teacher).powf(2.0) * Dual... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | let error_func: Box DualNumber> = Box::new(move |&output, &teacher| (output-teacher).powf(2.0) * DualNumber::new(0.5)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | let func_hide_rel: Box DualNumber> = Box::new(move |x: DualNumber| (DualNumber::new(1.0) - (-x).exp()).recip()); //... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | let func_hide_rel: Box DualNumber> = Box::new(move |x: DualNumber| (DualNumber::new(1.0) - (-x).exp()).recip()); // 標準シグモイド関数 [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let func_output: Box DualNumber> = Box::new(move |x: DualNumber| x); // 恒等写像 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | let func_output: Box DualNumber> = Box::new(move |x: DualNumber| x); // 恒等写像 [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let error_func: Box DualNumber> = Box::new(move |&output, &teacher| (output-teacher).powf(2.0) * Dual... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | let error_func: Box DualNumber> = Box::new(move |&output, &teacher| (output-teacher).powf(2.0) * DualNumber::new(0.5)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "94413b6d5a870b6099c6aa147ef1dff3e4c6350b06440d33df3dec18f8d49076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94413b6d5a870b6099c6aa147ef1dff3e4c6350b06440d33df3dec18f8d49076", kill_on_drop: false }` [INFO] [stdout] 94413b6d5a870b6099c6aa147ef1dff3e4c6350b06440d33df3dec18f8d49076