[INFO] fetching crate datagen-rs 0.1.0... [INFO] testing datagen-rs-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate datagen-rs 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate datagen-rs 0.1.0 [INFO] finished tweaking crates.io crate datagen-rs 0.1.0 [INFO] tweaked toml for crates.io crate datagen-rs 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate datagen-rs 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate datagen-rs 0.1.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45c78a6e3cf35d8d72c4b44778f2b098e2d8d7021f2c157bd6201472c192c7a5 [INFO] running `Command { std: "docker" "start" "-a" "45c78a6e3cf35d8d72c4b44778f2b098e2d8d7021f2c157bd6201472c192c7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45c78a6e3cf35d8d72c4b44778f2b098e2d8d7021f2c157bd6201472c192c7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45c78a6e3cf35d8d72c4b44778f2b098e2d8d7021f2c157bd6201472c192c7a5", kill_on_drop: false }` [INFO] [stdout] 45c78a6e3cf35d8d72c4b44778f2b098e2d8d7021f2c157bd6201472c192c7a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a457112e74f0fe8df67f7cd80acfaf2cf80a3fa90e379f2c14a9ecd9270c1389 [INFO] running `Command { std: "docker" "start" "-a" "a457112e74f0fe8df67f7cd80acfaf2cf80a3fa90e379f2c14a9ecd9270c1389", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling ordered-float v4.1.0 [INFO] [stderr] Compiling datagen-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `map_schema` [INFO] [stdout] --> src/generate/schema_value.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(not(feature = "map_schema"), allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"map-schema"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `generate`, `map-schema`, `native-plugin`, `plugin`, `schema`, and `serialize` [INFO] [stdout] = help: consider adding `map_schema` as a feature in `Cargo.toml` [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] [stdout] error[E0432]: unresolved imports `crate::util::helpers::generate_random_data`, `crate::util::helpers::read_schema`, `crate::util::helpers::write_json_schema` [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::util::helpers::{generate_random_data, read_schema, write_json_schema}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `write_json_schema` in `util::helpers` [INFO] [stdout] | | | [INFO] [stdout] | | no `read_schema` in `util::helpers` [INFO] [stdout] | no `generate_random_data` in `util::helpers` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/helpers.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(feature = "generate")] [INFO] [stdout] | -------------------- the item is gated behind the `generate` feature [INFO] [stdout] 78 | pub fn generate_random_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/helpers.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(feature = "serialize")] [INFO] [stdout] | --------------------- the item is gated behind the `serialize` feature [INFO] [stdout] 48 | pub fn read_schema>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/helpers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "schema")] [INFO] [stdout] | ------------------ the item is gated behind the `schema` feature [INFO] [stdout] 40 | pub fn write_json_schema>(path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `map_schema` [INFO] [stdout] --> src/generate/schema_value.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(not(feature = "map_schema"), allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"map-schema"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `generate`, `map-schema`, `native-plugin`, `plugin`, `schema`, and `serialize` [INFO] [stdout] = help: consider adding `map_schema` as a feature in `Cargo.toml` [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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `datagen-rs` (bin "datagen-rs") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a457112e74f0fe8df67f7cd80acfaf2cf80a3fa90e379f2c14a9ecd9270c1389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a457112e74f0fe8df67f7cd80acfaf2cf80a3fa90e379f2c14a9ecd9270c1389", kill_on_drop: false }` [INFO] [stdout] a457112e74f0fe8df67f7cd80acfaf2cf80a3fa90e379f2c14a9ecd9270c1389