[INFO] fetching crate unarray 0.1.4... [INFO] checking unarray-0.1.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate unarray 0.1.4 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate unarray 0.1.4 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 unarray 0.1.4 [INFO] finished tweaking crates.io crate unarray 0.1.4 [INFO] tweaked toml for crates.io crate unarray 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding structmeta v0.1.6 (available: v0.3.0) [INFO] [stderr] Adding structmeta-derive v0.1.6 (available: v0.3.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding test-strategy v0.2.1 (available: v0.4.0) [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] Downloading crates ... [INFO] [stderr] Downloaded structmeta-derive v0.1.6 [INFO] [stderr] Downloaded test-strategy v0.2.1 [INFO] [stderr] Downloaded structmeta v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0fbf6cb090adc09d96aca7a01d78542d0b1954646a856302c5cbf326a14f7608 [INFO] running `Command { std: "docker" "start" "-a" "0fbf6cb090adc09d96aca7a01d78542d0b1954646a856302c5cbf326a14f7608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fbf6cb090adc09d96aca7a01d78542d0b1954646a856302c5cbf326a14f7608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fbf6cb090adc09d96aca7a01d78542d0b1954646a856302c5cbf326a14f7608", kill_on_drop: false }` [INFO] [stdout] 0fbf6cb090adc09d96aca7a01d78542d0b1954646a856302c5cbf326a14f7608 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e7cc8890a44bc370db0f68e9db3a5e1a79750a56e80bd5957ff17c7c3564d78c [INFO] running `Command { std: "docker" "start" "-a" "e7cc8890a44bc370db0f68e9db3a5e1a79750a56e80bd5957ff17c7c3564d78c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unarray v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling structmeta-derive v0.1.6 [INFO] [stderr] Compiling structmeta v0.1.6 [INFO] [stderr] Compiling test-strategy v0.2.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/map.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | use proptest::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/testing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proptest::collection::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/testing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use proptest::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `proptest` [INFO] [stdout] --> src/from_iter.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | use proptest::{prop_assert, prop_assert_eq}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/map.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `proptest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/map.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `proptest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/from_iter.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `proptest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/from_iter.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `proptest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/from_iter.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `proptest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/map.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `test_strategy::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/map.rs:192:72 [INFO] [stdout] | [INFO] [stdout] 192 | fn proptest_option_map(#[strategy(array_strategy::())] array: [String; LEN]) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/map.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `test_strategy::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/map.rs:201:72 [INFO] [stdout] | [INFO] [stdout] 201 | fn proptest_result_map(#[strategy(array_strategy::())] array: [String; LEN]) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/from_iter.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `test_strategy::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/from_iter.rs:129:64 [INFO] [stdout] | [INFO] [stdout] 129 | fn undersized_proptest(#[strategy(vec_strategy(LEN))] vec: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/from_iter.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `test_strategy::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/from_iter.rs:136:63 [INFO] [stdout] | [INFO] [stdout] 136 | fn oversized_proptest(#[strategy(vec_strategy(LEN))] vec: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/from_iter.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | #[proptest] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `test_strategy::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/from_iter.rs:143:64 [INFO] [stdout] | [INFO] [stdout] 143 | fn just_right_proptest(#[strategy(vec_strategy(LEN))] vec: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Strategy` in this scope [INFO] [stdout] --> src/testing.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn array_strategy() -> impl Strategy { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Strategy` in this scope [INFO] [stdout] --> src/testing.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn vec_strategy(n: usize) -> impl Strategy> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/map.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/from_iter.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `vec` [INFO] [stdout] --> src/testing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | vec(any::(), N).prop_map(|v| v.try_into().unwrap()) [INFO] [stdout] | ^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 7 | vec!(any::(), N).prop_map(|v| v.try_into().unwrap()) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `any` in this scope [INFO] [stdout] --> src/testing.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | vec(any::(), N).prop_map(|v| v.try_into().unwrap()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `vec` [INFO] [stdout] --> src/testing.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | vec(any::(), n) [INFO] [stdout] | ^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 11 | vec!(any::(), n) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `any` in this scope [INFO] [stdout] --> src/testing.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | vec(any::(), n) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0423, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unarray` (lib test) due to 26 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7cc8890a44bc370db0f68e9db3a5e1a79750a56e80bd5957ff17c7c3564d78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7cc8890a44bc370db0f68e9db3a5e1a79750a56e80bd5957ff17c7c3564d78c", kill_on_drop: false }` [INFO] [stdout] e7cc8890a44bc370db0f68e9db3a5e1a79750a56e80bd5957ff17c7c3564d78c