[INFO] fetching crate blackbox 0.2.0... [INFO] checking blackbox-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate blackbox 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate blackbox 0.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate blackbox 0.2.0 [INFO] finished tweaking crates.io crate blackbox 0.2.0 [INFO] tweaked toml for crates.io crate blackbox 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate blackbox 0.2.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded hermit-abi v0.1.6 [INFO] [stderr] Downloaded rusty-machine v0.5.4 [INFO] [stderr] Downloaded random v0.12.2 [INFO] [stderr] Downloaded rulinalg v0.3.7 [INFO] [stderr] Downloaded special v0.8.1 [INFO] [stderr] Downloaded matrixmultiply v0.1.15 [INFO] [stderr] Downloaded slog-term v2.5.0 [INFO] [stderr] Downloaded probability v0.15.12 [INFO] [stderr] Downloaded slog-async v2.4.0 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded slog v2.5.2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bbdf109663bc127c4b102b36f5202e131ca39165519fee55196d004f04da079 [INFO] running `Command { std: "docker" "start" "-a" "2bbdf109663bc127c4b102b36f5202e131ca39165519fee55196d004f04da079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bbdf109663bc127c4b102b36f5202e131ca39165519fee55196d004f04da079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bbdf109663bc127c4b102b36f5202e131ca39165519fee55196d004f04da079", kill_on_drop: false }` [INFO] [stdout] 2bbdf109663bc127c4b102b36f5202e131ca39165519fee55196d004f04da079 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd3e6d5a4856f89092a38e7865b431f584868da211c89767e5740a660fcc07d9 [INFO] running `Command { std: "docker" "start" "-a" "fd3e6d5a4856f89092a38e7865b431f584868da211c89767e5740a660fcc07d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking random v0.12.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking slog-async v2.4.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking special v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking probability v0.15.12 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.3.7 [INFO] [stderr] Checking slog-term v2.5.0 [INFO] [stderr] Checking rusty-machine v0.5.4 [INFO] [stderr] Checking blackbox v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/bayesian.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/bayesian.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bayesian.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | for i in 0..N { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bayesian.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | for i in 0..N { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `domains` is never read [INFO] [stdout] --> src/bayesian.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct CustomSquaredExp { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | domains: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `domains` is never read [INFO] [stdout] --> src/bayesian.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct CustomSquaredExp { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | domains: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `blackbox_derive` [INFO] [stdout] --> examples/simple.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate blackbox_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `blackbox_derive` [INFO] [stdout] --> examples/more_complex.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate blackbox_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `make_optimizer` in this scope [INFO] [stdout] --> examples/simple.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | make_optimizer! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `make_optimizer` in this scope [INFO] [stdout] --> examples/more_complex.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | make_optimizer! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Configuration` in this scope [INFO] [stdout] --> examples/more_complex.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let max_score: f64 = Configuration {c:0.0001, d:-1.0001}.evaluate(log.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Configuration` [INFO] [stdout] --> examples/simple.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let config = Configuration::random_search(10, log.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Configuration` [INFO] [stdout] --> examples/simple.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let config = Configuration::bayesian_search(3, 10, log.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blackbox::BlackboxInput` [INFO] [stdout] --> examples/simple.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use blackbox::BlackboxInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Configuration` [INFO] [stdout] --> examples/more_complex.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let config = Configuration::random_search(N_SAMPLES, log.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Configuration` [INFO] [stdout] --> examples/more_complex.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let config = Configuration::bayesian_search(2, N_SAMPLES - 2, log.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blackbox::BlackboxInput` [INFO] [stdout] --> examples/more_complex.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use blackbox::BlackboxInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blackbox` (example "simple") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blackbox` (example "more_complex") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fd3e6d5a4856f89092a38e7865b431f584868da211c89767e5740a660fcc07d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3e6d5a4856f89092a38e7865b431f584868da211c89767e5740a660fcc07d9", kill_on_drop: false }` [INFO] [stdout] fd3e6d5a4856f89092a38e7865b431f584868da211c89767e5740a660fcc07d9