[INFO] fetching crate runnt 0.7.0... [INFO] testing runnt-0.7.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate runnt 0.7.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate runnt 0.7.0 [INFO] finished tweaking crates.io crate runnt 0.7.0 [INFO] tweaked toml for crates.io crate runnt 0.7.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate runnt 0.7.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate runnt 0.7.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 836a9fef782d9606dd32760b77fd65d0e018938c6889b3cefa92941b374b2d4f [INFO] running `Command { std: "docker" "start" "-a" "836a9fef782d9606dd32760b77fd65d0e018938c6889b3cefa92941b374b2d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "836a9fef782d9606dd32760b77fd65d0e018938c6889b3cefa92941b374b2d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836a9fef782d9606dd32760b77fd65d0e018938c6889b3cefa92941b374b2d4f", kill_on_drop: false }` [INFO] [stdout] 836a9fef782d9606dd32760b77fd65d0e018938c6889b3cefa92941b374b2d4f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 529e8409c132093ccc7cfca89b295a9f62b196bee01293a5d010d7e4e26ed434 [INFO] running `Command { std: "docker" "start" "-a" "529e8409c132093ccc7cfca89b295a9f62b196bee01293a5d010d7e4e26ed434", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling runnt v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.91s [INFO] running `Command { std: "docker" "inspect" "529e8409c132093ccc7cfca89b295a9f62b196bee01293a5d010d7e4e26ed434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529e8409c132093ccc7cfca89b295a9f62b196bee01293a5d010d7e4e26ed434", kill_on_drop: false }` [INFO] [stdout] 529e8409c132093ccc7cfca89b295a9f62b196bee01293a5d010d7e4e26ed434 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebb3fc8a886cdcf3f7bd49fb6c75eeefa6208cd3ed2e890a44ef3479f528d07e [INFO] running `Command { std: "docker" "start" "-a" "ebb3fc8a886cdcf3f7bd49fb6c75eeefa6208cd3ed2e890a44ef3479f528d07e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.92 [INFO] [stderr] Compiling rayon-core v1.10.2 [INFO] [stderr] Compiling rustix v0.37.6 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.4 [INFO] [stderr] Compiling ciborium-io v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling ciborium-ll v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling plotters-svg v0.3.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling plotters v0.3.4 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling tempfile v3.5.0 [INFO] [stderr] Compiling runnt v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ciborium v0.2.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `release_assertions` [INFO] [stdout] --> src/tests.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | if cfg!(release_assertions) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: there is a config with a similar name: `debug_assertions` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release_assertions)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release_assertions)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.11s [INFO] running `Command { std: "docker" "inspect" "ebb3fc8a886cdcf3f7bd49fb6c75eeefa6208cd3ed2e890a44ef3479f528d07e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb3fc8a886cdcf3f7bd49fb6c75eeefa6208cd3ed2e890a44ef3479f528d07e", kill_on_drop: false }` [INFO] [stdout] ebb3fc8a886cdcf3f7bd49fb6c75eeefa6208cd3ed2e890a44ef3479f528d07e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 489d89b29bb55c5c283c29d9a9e5bb3c30c3f60630b650aeb38c88eafb7ea2d6 [INFO] running `Command { std: "docker" "start" "-a" "489d89b29bb55c5c283c29d9a9e5bb3c30c3f60630b650aeb38c88eafb7ea2d6", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `release_assertions` [INFO] [stderr] --> src/tests.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | if cfg!(release_assertions) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: there is a config with a similar name: `debug_assertions` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release_assertions)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release_assertions)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `runnt` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/runnt-a868492e3cc15aca) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test dataset::tests::dataset_add_same_column_twice ... ok [INFO] [stdout] test dataset::tests::shuf ... ok [INFO] [stdout] test dataset::tests::onehottop ... ok [INFO] [stdout] test dataset::tests::test_allocate_correct ... ok [INFO] [stdout] test dataset::tests::test_allocate_test_train_are_different ... ok [INFO] [stdout] test dataset::tests::test_allocate_range ... ok [INFO] [stdout] test dataset::tests::test_builds_with_basic ... ok [INFO] [stdout] test dataset::tests::onehot ... ok [INFO] [stdout] test dataset::tests::test_get ... ok [INFO] [stdout] test dataset::tests::test_nn ... ok [INFO] [stdout] test nn::tests::known_weights ... ok [INFO] [stdout] test nn::tests::test_softmax_splits_even ... ok [INFO] [stdout] test nn::tests::test_softmax_sums_to_one ... ok [INFO] [stdout] test nn::tests::test_xor ... ok [INFO] [stdout] test nn::tests::test_get_set_weights ... ok [INFO] [stdout] test nn::tests::test_save_load ... ok [INFO] [stdout] test dataset::tests::test_assert_nodata - should panic ... ok [INFO] [stdout] test dataset::tests::test_assert_noinputcolumns - should panic ... ok [INFO] [stdout] test dataset::tests::test_assert_notargetcolumns - should panic ... ok [INFO] [stdout] test nn::tests::readme ... ok [INFO] [stdout] test nn::tests::xor_gd ... ok [INFO] [stderr] Doc-tests runnt [INFO] [stdout] test nn::tests::xor_sgd ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.68s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/nn.rs - nn::ReportMetric::Custom (line 836) ... ok [INFO] [stdout] test src/dataset.rs - dataset::Dataset (line 24) ... ok [INFO] [stdout] test src/nn.rs - nn::NN (line 15) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "489d89b29bb55c5c283c29d9a9e5bb3c30c3f60630b650aeb38c88eafb7ea2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "489d89b29bb55c5c283c29d9a9e5bb3c30c3f60630b650aeb38c88eafb7ea2d6", kill_on_drop: false }` [INFO] [stdout] 489d89b29bb55c5c283c29d9a9e5bb3c30c3f60630b650aeb38c88eafb7ea2d6