[INFO] fetching crate comptime 1.0.0... [INFO] checking comptime-1.0.0 against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] extracting crate comptime 1.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate comptime 1.0.0 [INFO] finished tweaking crates.io crate comptime 1.0.0 [INFO] tweaked toml for crates.io crate comptime 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate comptime 1.0.0 on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate comptime 1.0.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" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 110f401813b6832d276389d80f961d6af8559728113c57b5973aebd6ef1229af [INFO] running `Command { std: "docker" "start" "-a" "110f401813b6832d276389d80f961d6af8559728113c57b5973aebd6ef1229af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "110f401813b6832d276389d80f961d6af8559728113c57b5973aebd6ef1229af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110f401813b6832d276389d80f961d6af8559728113c57b5973aebd6ef1229af", kill_on_drop: false }` [INFO] [stdout] 110f401813b6832d276389d80f961d6af8559728113c57b5973aebd6ef1229af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72864fe191807935d028e0bdfdd610815785ce48f030c96d5a8085b1fbce6d01 [INFO] running `Command { std: "docker" "start" "-a" "72864fe191807935d028e0bdfdd610815785ce48f030c96d5a8085b1fbce6d01", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking comptime v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: could not compile comptime expr: [INFO] [stdout] [INFO] [stdout] {"$message_type":"diagnostic","message":"failed to resolve: could not find `StdRng` in `rngs`","code":{"code":"E0433","explanation":"An undeclared crate, module, or type was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve: use of undeclared type `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforget to import it:\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap = HashMap::new(); // So it can be used!\n```\n\nIf you've expected to use a crate name:\n\n```compile_fail\nuse ferris_wheel::BigO;\n// error: failed to resolve: use of undeclared module or unlinked crate\n```\n\nMake sure the crate has been added as a dependency in `Cargo.toml`.\n\nTo use a module from your current crate, add the `crate::` prefix to the path.\n"},"level":"error","spans":[{"file_name":"/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs","byte_start":110,"byte_end":116,"line_start":2,"line_end":2,"column_start":99,"column_end":105,"is_primary":true,"text":[{"text":" let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::","highlight_start":99,"highlight_end":105}],"label":"could not find `StdRng` in `rngs`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"found an item that was configured out","code":null,"level":"note","spans":[{"file_name":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs","byte_start":5718,"byte_end":5737,"line_start":115,"line_end":115,"column_start":7,"column_end":26,"is_primary":false,"text":[{"text":"#[cfg(feature = \"std_rng\")] pub use self::std::StdRng;","highlight_start":7,"highlight_end":26}],"label":"the item is gated behind the `std_rng` feature","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs","byte_start":5759,"byte_end":5765,"line_start":115,"line_end":115,"column_start":48,"column_end":54,"is_primary":true,"text":[{"text":"#[cfg(feature = \"std_rng\")] pub use self::std::StdRng;","highlight_start":48,"highlight_end":54}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror[E0433]\u001b[0m\u001b[0m\u001b[1m: failed to resolve: could not find `StdRng` in `rngs`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs:2:99\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m2\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m^^^^^^\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9mcould not find `StdRng` in `rngs`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;10mnote\u001b[0m\u001b[0m: found an item that was configured out\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:48\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m115\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m#[cfg(feature = \"std_rng\")] pub use self::std::StdRng;\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m-------------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;10m^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mthe item is gated behind the `std_rng` feature\u001b[0m\n\n"} [INFO] [stdout] {"$message_type":"artifact","artifact":"/opt/rustwide/target/debug/deps/comptime_bin-b8bb70d01cf3d48f.d","emit":"dep-info"} [INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `SeedableRng`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs","byte_start":70,"byte_end":81,"line_start":2,"line_end":2,"column_start":59,"column_end":70,"is_primary":true,"text":[{"text":" let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::","highlight_start":59,"highlight_end":70}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the unused import","code":null,"level":"help","spans":[{"file_name":"/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs","byte_start":70,"byte_end":83,"line_start":2,"line_end":2,"column_start":59,"column_end":72,"is_primary":true,"text":[{"text":" let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::","highlight_start":59,"highlight_end":72}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null},{"file_name":"/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs","byte_start":68,"byte_end":70,"line_start":2,"line_end":2,"column_start":57,"column_end":59,"is_primary":true,"text":[{"text":" let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::","highlight_start":57,"highlight_end":59}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null},{"file_name":"/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs","byte_start":90,"byte_end":92,"line_start":2,"line_end":2,"column_start":79,"column_end":81,"is_primary":true,"text":[{"text":" let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::","highlight_start":79,"highlight_end":81}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: unused import: `SeedableRng`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs:2:59\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m2\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default\u001b[0m\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 1 previous error; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: aborting due to 1 previous error; 1 warning emitted\u001b[0m\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0433`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1mFor more information about this error, try `rustc --explain E0433`.\u001b[0m\n"} [INFO] [stdout] [INFO] [stdout] --> tests/integration.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / comptime! { [INFO] [stdout] 31 | | use rand::{SeedableRng, RngCore}; [INFO] [stdout] 32 | | rand::rngs::StdRng::seed_from_u64(42u64).next_u64() [INFO] [stdout] 33 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `comptime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `comptime` (test "integration") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "72864fe191807935d028e0bdfdd610815785ce48f030c96d5a8085b1fbce6d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72864fe191807935d028e0bdfdd610815785ce48f030c96d5a8085b1fbce6d01", kill_on_drop: false }` [INFO] [stdout] 72864fe191807935d028e0bdfdd610815785ce48f030c96d5a8085b1fbce6d01