[INFO] fetching crate comptime 1.0.0...
[INFO] checking comptime-1.0.0 against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[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 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 550dc2af0d96b205fea05f8556ac231967722c6d9a7735db31b35ff9b7323477
[INFO] running `Command { std: "docker" "start" "-a" "550dc2af0d96b205fea05f8556ac231967722c6d9a7735db31b35ff9b7323477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "550dc2af0d96b205fea05f8556ac231967722c6d9a7735db31b35ff9b7323477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "550dc2af0d96b205fea05f8556ac231967722c6d9a7735db31b35ff9b7323477", kill_on_drop: false }`
[INFO] [stdout] 550dc2af0d96b205fea05f8556ac231967722c6d9a7735db31b35ff9b7323477
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45fa612ca61c007a310456d462c2e4c950cd085c63c8104789d3b2574656fd9d
[INFO] running `Command { std: "docker" "start" "-a" "45fa612ca61c007a310456d462c2e4c950cd085c63c8104789d3b2574656fd9d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.84
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking quote v1.0.36
[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":"unresolved import `rand::RngCore`","code":{"code":"E0432","explanation":"An import was unresolved.\n\nErroneous code example:\n\n```compile_fail,E0432\nuse something::Foo; // error: unresolved import `something::Foo`.\n```\n\nIn Rust 2015, paths in `use` statements are relative to the crate root. To\nimport items relative to the current and parent modules, use the `self::` and\n`super::` prefixes, respectively.\n\nIn Rust 2018 or later, paths in `use` statements are relative to the current\nmodule unless they begin with the name of a crate or a literal `crate::`, in\nwhich case they start from the crate root. As in Rust 2015 code, the `self::`\nand `super::` prefixes refer to the current and parent modules respectively.\n\nAlso verify that you didn't misspell the import name and that the import exists\nin the module from where you tried to import it. Example:\n\n```\nuse self::something::Foo; // Ok.\n\nmod something {\n    pub struct Foo;\n}\n# fn main() {}\n```\n\nIf you tried to use a module from an external crate and are using Rust 2015,\nyou may have missed the `extern crate` declaration (which is usually placed in\nthe crate root):\n\n```edition2015\nextern crate core; // Required to use the `core` crate in Rust 2015.\n\nuse core::any;\n# fn main() {}\n```\n\nSince Rust 2018 the `extern crate` declaration is not required and\nyou can instead just `use` it:\n\n```edition2018\nuse core::any; // No extern crate required in Rust 2018.\n# fn main() {}\n```\n"},"level":"error","spans":[{"file_name":"/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs","byte_start":83,"byte_end":90,"line_start":2,"line_end":2,"column_start":72,"column_end":79,"is_primary":true,"text":[{"text":"                    let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::","highlight_start":72,"highlight_end":79}],"label":"no `RngCore` in the root","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this trait instead:\nrand_core::RngCore","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0432]\u001b[0m\u001b[1m: unresolved import `rand::RngCore`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0m/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs:2:72\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m2\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                     let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::\n  \u001b[1m\u001b[94m|\u001b[0m                                                                        \u001b[1m\u001b[91m^^^^^^^\u001b[0m \u001b[1m\u001b[91mno `RngCore` in the root\u001b[0m\n  \u001b[1m\u001b[94m|\u001b[0m\n  \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: consider importing this trait instead:\n          rand_core::RngCore\n\n"}
[INFO] [stdout]        {"$message_type":"diagnostic","message":"cannot find `rngs` in `rand`","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<u32, u32> = 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":102,"byte_end":106,"line_start":2,"line_end":2,"column_start":91,"column_end":95,"is_primary":true,"text":[{"text":"                    let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::","highlight_start":91,"highlight_end":95}],"label":"could not find `rngs` in `rand`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider importing this struct","code":null,"level":"help","spans":[{"file_name":"/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":"use rand::StdRng;\n\n","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null},{"message":"if you import `StdRng`, refer to it directly","code":null,"level":"help","spans":[{"file_name":"/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs","byte_start":94,"byte_end":110,"line_start":2,"line_end":2,"column_start":83,"column_end":99,"is_primary":true,"text":[{"text":"                    let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::","highlight_start":83,"highlight_end":99}],"label":null,"suggested_replacement":"","suggestion_applicability":"Unspecified","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0433]\u001b[0m\u001b[1m: cannot find `rngs` in `rand`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0m/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs:2:91\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m2\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                     let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::\n  \u001b[1m\u001b[94m|\u001b[0m                                                                                           \u001b[1m\u001b[91m^^^^\u001b[0m \u001b[1m\u001b[91mcould not find `rngs` in `rand`\u001b[0m\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: consider importing this struct\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m1\u001b[0m \u001b[92m+ use rand::StdRng;\u001b[0m\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: if you import `StdRng`, refer to it directly\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m2\u001b[0m \u001b[91m- \u001b[0m                    let comptime_output = { use rand :: { SeedableRng, RngCore }; \u001b[91mrand :: rngs :: \u001b[0mStdRng ::\n\u001b[1m\u001b[94m2\u001b[0m \u001b[92m+ \u001b[0m                    let comptime_output = { use rand :: { SeedableRng, RngCore }; StdRng ::\n  \u001b[1m\u001b[94m|\u001b[0m\n\n"}
[INFO] [stdout]        {"$message_type":"artifact","artifact":"/opt/rustwide/target/debug/deps/comptime_bin-102cf15dc1c2feb1.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[1m\u001b[33mwarning\u001b[0m\u001b[1m: unused import: `SeedableRng`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0m/opt/rustwide/target/debug/deps/comptime-11917016206456442026.rs:2:59\n  \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m2\u001b[0m \u001b[1m\u001b[94m|\u001b[0m                     let comptime_output = { use rand :: { SeedableRng, RngCore }; rand :: rngs :: StdRng ::\n  \u001b[1m\u001b[94m|\u001b[0m                                                           \u001b[1m\u001b[33m^^^^^^^^^^^\u001b[0m\n  \u001b[1m\u001b[94m|\u001b[0m\n  \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default\n\n"}
[INFO] [stdout]        {"$message_type":"diagnostic","message":"aborting due to 2 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: aborting due to 2 previous errors; 1 warning emitted\u001b[0m\n\n"}
[INFO] [stdout]        {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0432, E0433.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mSome errors have detailed explanations: E0432, E0433.\u001b[0m\n"}
[INFO] [stdout]        {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0432`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mFor more information about an error, try `rustc --explain E0432`.\u001b[0m\n"}
[INFO] [stdout]        
[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" "45fa612ca61c007a310456d462c2e4c950cd085c63c8104789d3b2574656fd9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45fa612ca61c007a310456d462c2e4c950cd085c63c8104789d3b2574656fd9d", kill_on_drop: false }`
[INFO] [stdout] 45fa612ca61c007a310456d462c2e4c950cd085c63c8104789d3b2574656fd9d
