[INFO] fetching crate tsuga 0.1.1... [INFO] testing tsuga-0.1.1 against master#0e21a27075a8c508f00d1a4430497f17ce93d5c9 for pr-98839 [INFO] extracting crate tsuga 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate tsuga 0.1.1 on toolchain 0e21a27075a8c508f00d1a4430497f17ce93d5c9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tsuga 0.1.1 [INFO] finished tweaking crates.io crate tsuga 0.1.1 [INFO] tweaked toml for crates.io crate tsuga 0.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate tsuga 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray-stats v0.3.0 [INFO] [stderr] Downloaded serial_test_derive v0.4.0 [INFO] [stderr] Downloaded serial_test v0.4.0 [INFO] [stderr] Downloaded reqwest v0.10.8 [INFO] [stderr] Downloaded rayon-core v1.8.1 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.4 [INFO] [stderr] Downloaded tracing v0.1.19 [INFO] [stderr] Downloaded xcursor v0.3.2 [INFO] [stderr] Downloaded tracing-core v0.1.16 [INFO] [stderr] Downloaded syn v1.0.41 [INFO] [stderr] Downloaded flate2 v1.0.17 [INFO] [stderr] Downloaded crossterm v0.17.7 [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] [stderr] Downloaded noisy_float v0.1.13 [INFO] [stderr] Downloaded termios v0.3.2 [INFO] [stderr] Downloaded orbclient v0.3.27 [INFO] [stderr] Downloaded imageproc v0.20.0 [INFO] [stderr] Downloaded wayland-protocols v0.27.0 [INFO] [stderr] Downloaded h2 v0.2.6 [INFO] [stderr] Downloaded wayland-scanner v0.27.0 [INFO] [stderr] Downloaded wayland-cursor v0.27.0 [INFO] [stderr] Downloaded wayland-sys v0.27.0 [INFO] [stderr] Downloaded ndarray-rand v0.11.0 [INFO] [stderr] Downloaded hyper v0.13.8 [INFO] [stderr] Downloaded cifar-ten v0.1.0 [INFO] [stderr] Downloaded mnist v0.4.1 [INFO] [stderr] Downloaded wayland-commons v0.27.0 [INFO] [stderr] Downloaded minifb v0.18.0 [INFO] [stderr] Downloaded wayland-client v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6596a1fff339d2936c9f63ae14957cd4b394b143ec6b91cb4d3868f29a29ed3f [INFO] running `Command { std: "docker" "start" "-a" "6596a1fff339d2936c9f63ae14957cd4b394b143ec6b91cb4d3868f29a29ed3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6596a1fff339d2936c9f63ae14957cd4b394b143ec6b91cb4d3868f29a29ed3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6596a1fff339d2936c9f63ae14957cd4b394b143ec6b91cb4d3868f29a29ed3f", kill_on_drop: false }` [INFO] [stdout] 6596a1fff339d2936c9f63ae14957cd4b394b143ec6b91cb4d3868f29a29ed3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0c20c626c51590e42be2f4aef241c56b9f08736584aecb21e6e7b0444952f39 [INFO] running `Command { std: "docker" "start" "-a" "e0c20c626c51590e42be2f4aef241c56b9f08736584aecb21e6e7b0444952f39", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling noisy_float v0.1.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling console v0.12.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling crossterm v0.17.7 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.9 [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Compiling serial_test v0.4.0 [INFO] [stderr] Compiling ndarray-rand v0.11.0 [INFO] [stderr] Compiling ndarray-stats v0.3.0 [INFO] [stderr] Compiling imageproc v0.20.0 [INFO] [stderr] Compiling tsuga v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fc_network.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | _ => panic!(format!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 216 | | "This activation function ({}) is not supported", [INFO] [stdout] 217 | | activation_fn [INFO] [stdout] 218 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 215 ~ _ => panic!( [INFO] [stdout] 216 | "This activation function ({}) is not supported", [INFO] [stdout] 217 | activation_fn [INFO] [stdout] 218 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fc_network.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 248 | | "This activation function ({}) is not supported", [INFO] [stdout] 249 | | activation_fn [INFO] [stdout] 250 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 247 ~ _ => panic!( [INFO] [stdout] 248 | "This activation function ({}) is not supported", [INFO] [stdout] 249 | activation_fn [INFO] [stdout] 250 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fc_network.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | _ => panic!(format!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 283 | | "This activation function ({}) is not supported", [INFO] [stdout] 284 | | activation_fn [INFO] [stdout] 285 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 282 ~ _ => panic!( [INFO] [stdout] 283 | "This activation function ({}) is not supported", [INFO] [stdout] 284 | activation_fn [INFO] [stdout] 285 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.39s [INFO] running `Command { std: "docker" "inspect" "e0c20c626c51590e42be2f4aef241c56b9f08736584aecb21e6e7b0444952f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c20c626c51590e42be2f4aef241c56b9f08736584aecb21e6e7b0444952f39", kill_on_drop: false }` [INFO] [stdout] e0c20c626c51590e42be2f4aef241c56b9f08736584aecb21e6e7b0444952f39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82739364b1782bee7c8e26f558739cf028a321b39154de6e88d9fad2a9c5e6ce [INFO] running `Command { std: "docker" "start" "-a" "82739364b1782bee7c8e26f558739cf028a321b39154de6e88d9fad2a9c5e6ce", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling tracing-core v0.1.16 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling minifb v0.18.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling cifar-ten v0.1.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling xcursor v0.3.2 [INFO] [stderr] Compiling wayland-commons v0.27.0 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fc_network.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | _ => panic!(format!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 216 | | "This activation function ({}) is not supported", [INFO] [stdout] 217 | | activation_fn [INFO] [stdout] 218 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 215 ~ _ => panic!( [INFO] [stdout] 216 | "This activation function ({}) is not supported", [INFO] [stdout] 217 | activation_fn [INFO] [stdout] 218 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fc_network.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 248 | | "This activation function ({}) is not supported", [INFO] [stdout] 249 | | activation_fn [INFO] [stdout] 250 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 247 ~ _ => panic!( [INFO] [stdout] 248 | "This activation function ({}) is not supported", [INFO] [stdout] 249 | activation_fn [INFO] [stdout] 250 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fc_network.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | _ => panic!(format!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 283 | | "This activation function ({}) is not supported", [INFO] [stdout] 284 | | activation_fn [INFO] [stdout] 285 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 282 ~ _ => panic!( [INFO] [stdout] 283 | "This activation function ({}) is not supported", [INFO] [stdout] 284 | activation_fn [INFO] [stdout] 285 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling wayland-cursor v0.27.0 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling mnist v0.4.1 [INFO] [stderr] Compiling tsuga v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fc_network.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | _ => panic!(format!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 216 | | "This activation function ({}) is not supported", [INFO] [stdout] 217 | | activation_fn [INFO] [stdout] 218 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 215 ~ _ => panic!( [INFO] [stdout] 216 | "This activation function ({}) is not supported", [INFO] [stdout] 217 | activation_fn [INFO] [stdout] 218 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fc_network.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 248 | | "This activation function ({}) is not supported", [INFO] [stdout] 249 | | activation_fn [INFO] [stdout] 250 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 247 ~ _ => panic!( [INFO] [stdout] 248 | "This activation function ({}) is not supported", [INFO] [stdout] 249 | activation_fn [INFO] [stdout] 250 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fc_network.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | _ => panic!(format!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 283 | | "This activation function ({}) is not supported", [INFO] [stdout] 284 | | activation_fn [INFO] [stdout] 285 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 282 ~ _ => panic!( [INFO] [stdout] 283 | "This activation function ({}) is not supported", [INFO] [stdout] 284 | activation_fn [INFO] [stdout] 285 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/cifar.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut train_data, train_labels, mut test_data, test_labels) = Cifar10::default() [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/cifar.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut train_data, train_labels, mut test_data, test_labels) = Cifar10::default() [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | network.train(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | network.train(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 56.43s [INFO] running `Command { std: "docker" "inspect" "82739364b1782bee7c8e26f558739cf028a321b39154de6e88d9fad2a9c5e6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82739364b1782bee7c8e26f558739cf028a321b39154de6e88d9fad2a9c5e6ce", kill_on_drop: false }` [INFO] [stdout] 82739364b1782bee7c8e26f558739cf028a321b39154de6e88d9fad2a9c5e6ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51186bfb8284bdf609a3f60e842ffb0b0832fed81faf7bdb3bb333e621763d6b [INFO] running `Command { std: "docker" "start" "-a" "51186bfb8284bdf609a3f60e842ffb0b0832fed81faf7bdb3bb333e621763d6b", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/fc_network.rs:215:25 [INFO] [stderr] | [INFO] [stderr] 215 | _ => panic!(format!( [INFO] [stderr] | _________________________^ [INFO] [stderr] 216 | | "This activation function ({}) is not supported", [INFO] [stderr] 217 | | activation_fn [INFO] [stderr] 218 | | )), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 215 ~ _ => panic!( [INFO] [stderr] 216 | "This activation function ({}) is not supported", [INFO] [stderr] 217 | activation_fn [INFO] [stderr] 218 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/fc_network.rs:247:29 [INFO] [stderr] | [INFO] [stderr] 247 | _ => panic!(format!( [INFO] [stderr] | _____________________________^ [INFO] [stderr] 248 | | "This activation function ({}) is not supported", [INFO] [stderr] 249 | | activation_fn [INFO] [stderr] 250 | | )), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 247 ~ _ => panic!( [INFO] [stderr] 248 | "This activation function ({}) is not supported", [INFO] [stderr] 249 | activation_fn [INFO] [stderr] 250 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/fc_network.rs:282:33 [INFO] [stderr] | [INFO] [stderr] 282 | _ => panic!(format!( [INFO] [stderr] | _________________________________^ [INFO] [stderr] 283 | | "This activation function ({}) is not supported", [INFO] [stderr] 284 | | activation_fn [INFO] [stderr] 285 | | )), [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 282 ~ _ => panic!( [INFO] [stderr] 283 | "This activation function ({}) is not supported", [INFO] [stderr] 284 | activation_fn [INFO] [stderr] 285 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tsuga` (lib) generated 3 warnings [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/cifar.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | let (mut train_data, train_labels, mut test_data, test_labels) = Cifar10::default() [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/cifar.rs:27:40 [INFO] [stderr] | [INFO] [stderr] 27 | let (mut train_data, train_labels, mut test_data, test_labels) = Cifar10::default() [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/test.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | network.train(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/test.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | network.train(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `tsuga` (example "cifar") generated 2 warnings [INFO] [stderr] warning: `tsuga` (lib test) generated 5 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tsuga-c51ab17066a4c8ca) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test::test_softmax ... ok [INFO] [stdout] test test::build_default_network ... ok [INFO] [stdout] test test::build_default_network_w_options ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests tsuga [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error: expected expression, found `$` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 3 | $ sudo apt install libxkbcommon-dev libwayland-cursor0 libwayland-dev [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `mnist_as_ndarray` in this scope [INFO] [stdout] --> src/lib.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 8 | let (input, output, test_input, test_output) = mnist_as_ndarray(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compare_results` in this scope [INFO] [stdout] --> src/lib.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 36 | compare_results(test_result.clone(), test_output); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.24s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "51186bfb8284bdf609a3f60e842ffb0b0832fed81faf7bdb3bb333e621763d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51186bfb8284bdf609a3f60e842ffb0b0832fed81faf7bdb3bb333e621763d6b", kill_on_drop: false }` [INFO] [stdout] 51186bfb8284bdf609a3f60e842ffb0b0832fed81faf7bdb3bb333e621763d6b