[INFO] cloning repository https://github.com/peterdelevoryas/cu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peterdelevoryas/cu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterdelevoryas%2Fcu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterdelevoryas%2Fcu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88b2cd5886143d88f0137d03c7b3b4b60dac2f97 [INFO] checking peterdelevoryas/cu against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterdelevoryas%2Fcu" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/peterdelevoryas/cu [INFO] finished tweaking git repo https://github.com/peterdelevoryas/cu [INFO] tweaked toml for git repo https://github.com/peterdelevoryas/cu written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/peterdelevoryas/cu on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/peterdelevoryas/cu 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18ebcc52f1337951112e339131a9ee8355a2b495b10448ebf3b3416c268b97e5 [INFO] running `Command { std: "docker" "start" "-a" "18ebcc52f1337951112e339131a9ee8355a2b495b10448ebf3b3416c268b97e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ebcc52f1337951112e339131a9ee8355a2b495b10448ebf3b3416c268b97e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ebcc52f1337951112e339131a9ee8355a2b495b10448ebf3b3416c268b97e5", kill_on_drop: false }` [INFO] [stdout] 18ebcc52f1337951112e339131a9ee8355a2b495b10448ebf3b3416c268b97e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 194e50679dab7c99ce14f3ad143da41245210829230ab3f18663a4fef53d6772 [INFO] running `Command { std: "docker" "start" "-a" "194e50679dab7c99ce14f3ad143da41245210829230ab3f18663a4fef53d6772", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling llvm-sys v0.1.0 (https://github.com/peterdelevoryas/llvm-sys#154f03d6) [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking mylang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> src/ir.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 172 | syntax::Pattern::Tuple(elems) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> src/ir.rs:173:53 [INFO] [stdout] | [INFO] [stdout] 173 | &syntax::Pattern::EnumVariant(name, ref elems) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ir.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Const { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 85 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Const` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir.rs:1135:10 [INFO] [stdout] | [INFO] [stdout] 1135 | Type(TypeId), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1135 - Type(TypeId), [INFO] [stdout] 1135 + Type(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/ir.rs:1157:8 [INFO] [stdout] | [INFO] [stdout] 1157 | pub fn print(module: &Module2) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructType` is never constructed [INFO] [stdout] --> src/syntax.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct StructType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | let intern = unsafe { &mut INTERN }; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 97 | let intern = unsafe { &raw mut INTERN }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMTarget` does not permit being left uninitialized [INFO] [stdout] --> src/llvm.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let mut target = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/llvm.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let mut err = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse(text: &str) -> Module { [INFO] [stdout] | ^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse(text: &str) -> Module<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking filecheck v0.4.0 [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> src/ir.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 172 | syntax::Pattern::Tuple(elems) => unimplemented!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> src/ir.rs:173:53 [INFO] [stdout] | [INFO] [stdout] 173 | &syntax::Pattern::EnumVariant(name, ref elems) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ir.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Const { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 85 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Const` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ir.rs:1135:10 [INFO] [stdout] | [INFO] [stdout] 1135 | Type(TypeId), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1135 - Type(TypeId), [INFO] [stdout] 1135 + Type(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/ir.rs:1157:8 [INFO] [stdout] | [INFO] [stdout] 1157 | pub fn print(module: &Module2) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructType` is never constructed [INFO] [stdout] --> src/syntax.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct StructType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | let intern = unsafe { &mut INTERN }; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 97 | let intern = unsafe { &raw mut INTERN }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut LLVMTarget` does not permit being left uninitialized [INFO] [stdout] --> src/llvm.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let mut target = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> src/llvm.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let mut err = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse(text: &str) -> Module { [INFO] [stdout] | ^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse(text: &str) -> Module<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.25s [INFO] running `Command { std: "docker" "inspect" "194e50679dab7c99ce14f3ad143da41245210829230ab3f18663a4fef53d6772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "194e50679dab7c99ce14f3ad143da41245210829230ab3f18663a4fef53d6772", kill_on_drop: false }` [INFO] [stdout] 194e50679dab7c99ce14f3ad143da41245210829230ab3f18663a4fef53d6772