[INFO] fetching crate blackbox 0.2.0... [INFO] testing blackbox-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate blackbox 0.2.0 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate blackbox 0.2.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 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded probability v0.15.12 [INFO] [stderr] Downloaded slog-term v2.5.0 [INFO] [stderr] Downloaded slog-async v2.4.0 [INFO] [stderr] Downloaded rusty-machine v0.5.4 [INFO] [stderr] Downloaded rulinalg v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3275aaf3434a34e259b19918eb20adfd18eec177f96c3a11d84d812ffba7cb27 [INFO] running `Command { std: "docker" "start" "-a" "3275aaf3434a34e259b19918eb20adfd18eec177f96c3a11d84d812ffba7cb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3275aaf3434a34e259b19918eb20adfd18eec177f96c3a11d84d812ffba7cb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3275aaf3434a34e259b19918eb20adfd18eec177f96c3a11d84d812ffba7cb27", kill_on_drop: false }` [INFO] [stdout] 3275aaf3434a34e259b19918eb20adfd18eec177f96c3a11d84d812ffba7cb27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8c53e01954c5051bd975143dcf746d8852a66af75974286362b8ed6964108d4f [INFO] running `Command { std: "docker" "start" "-a" "8c53e01954c5051bd975143dcf746d8852a66af75974286362b8ed6964108d4f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling special v0.8.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling random v0.12.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling slog-async v2.4.0 [INFO] [stderr] Compiling probability v0.15.12 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.3.7 [INFO] [stderr] Compiling slog-term v2.5.0 [INFO] [stderr] Compiling rusty-machine v0.5.4 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.29s [INFO] running `Command { std: "docker" "inspect" "8c53e01954c5051bd975143dcf746d8852a66af75974286362b8ed6964108d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c53e01954c5051bd975143dcf746d8852a66af75974286362b8ed6964108d4f", kill_on_drop: false }` [INFO] [stdout] 8c53e01954c5051bd975143dcf746d8852a66af75974286362b8ed6964108d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3558bc44aae214539be21bd80f672c83cd4e33f08a825bc8c589e95043451a5a [INFO] running `Command { std: "docker" "start" "-a" "3558bc44aae214539be21bd80f672c83cd4e33f08a825bc8c589e95043451a5a", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling blackbox v0.2.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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[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] 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)]` (part of `#[warn(unused)]`) on by default [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: 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[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/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[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] 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] 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] [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] [stderr] error: could not compile `blackbox` (example "more_complex") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blackbox` (example "simple") due to 4 previous errors [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3558bc44aae214539be21bd80f672c83cd4e33f08a825bc8c589e95043451a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3558bc44aae214539be21bd80f672c83cd4e33f08a825bc8c589e95043451a5a", kill_on_drop: false }` [INFO] [stdout] 3558bc44aae214539be21bd80f672c83cd4e33f08a825bc8c589e95043451a5a