[INFO] cloning repository https://github.com/dsnam/molva
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsnam/molva" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsnam%2Fmolva", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsnam%2Fmolva'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5d57aecadd4315bd01ac8b68b96d9a896600756b
[INFO] checking dsnam/molva against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsnam%2Fmolva" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dsnam/molva
[INFO] finished tweaking git repo https://github.com/dsnam/molva
[INFO] tweaked toml for git repo https://github.com/dsnam/molva written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dsnam/molva on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dsnam/molva 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/TheDan64/inkwell`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustversion v1.0.9
[INFO] [stderr]   Downloaded serde v1.0.114
[INFO] [stderr]   Downloaded lalrpop-util v0.19.8
[INFO] [stderr]   Downloaded thiserror-impl v1.0.33
[INFO] [stderr]   Downloaded bit-vec v0.6.2
[INFO] [stderr]   Downloaded pico-args v0.4.2
[INFO] [stderr]   Downloaded string_cache v0.8.0
[INFO] [stderr]   Downloaded ena v0.14.0
[INFO] [stderr]   Downloaded thiserror v1.0.33
[INFO] [stderr]   Downloaded lock_api v0.4.8
[INFO] [stderr]   Downloaded once_cell v1.14.0
[INFO] [stderr]   Downloaded llvm-sys v100.2.3
[INFO] [stderr]   Downloaded cc v1.0.58
[INFO] [stderr]   Downloaded lalrpop v0.19.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 25344f5f4c34a591e3a6f506ad4e3e9631bc156549ffb7b5a1348cf57efe7420
[INFO] running `Command { std: "docker" "start" "-a" "25344f5f4c34a591e3a6f506ad4e3e9631bc156549ffb7b5a1348cf57efe7420", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25344f5f4c34a591e3a6f506ad4e3e9631bc156549ffb7b5a1348cf57efe7420", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25344f5f4c34a591e3a6f506ad4e3e9631bc156549ffb7b5a1348cf57efe7420", kill_on_drop: false }`
[INFO] [stdout] 25344f5f4c34a591e3a6f506ad4e3e9631bc156549ffb7b5a1348cf57efe7420
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b01baa70f90e7991d73e1b34c812d3d687f5a8a91b2391da20d027ac8a818949
[INFO] running `Command { std: "docker" "start" "-a" "b01baa70f90e7991d73e1b34c812d3d687f5a8a91b2391da20d027ac8a818949", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling serde v1.0.114
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling siphasher v0.3.3
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling bit-vec v0.6.2
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling pico-args v0.4.2
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#75284de8)
[INFO] [stderr]     Checking once_cell v1.14.0
[INFO] [stderr]     Checking mol_base v0.1.0 (/opt/rustwide/workdir/base)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> base/src/ast.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> base/src/ast.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::discriminant`
[INFO] [stdout]  --> base/src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem::discriminant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling petgraph v0.6.2
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling lalrpop-util v0.19.8
[INFO] [stderr]    Compiling llvm-sys v100.2.3
[INFO] [stderr]    Compiling string_cache v0.8.0
[INFO] [stderr]    Compiling lalrpop v0.19.8
[INFO] [stderr]    Compiling inkwell_internals v0.5.0 (https://github.com/TheDan64/inkwell?branch=master#75284de8)
[INFO] [stderr]    Compiling mol_parser v0.1.0 (/opt/rustwide/workdir/parser)
[INFO] [stderr]     Checking mol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `Function` in module `Mol`
[INFO] [stdout]    --> src/codegen.rs:489:25
[INFO] [stdout]     |
[INFO] [stdout] 489 |         function: &Mol::Function,
[INFO] [stdout]     |                         ^^^^^^^^ not found in `Mol`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::codegen::Mol::Expr::Function` and 3 others; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 489 -         function: &Mol::Function,
[INFO] [stdout] 489 +         function: &crate::codegen::Mol::Expr,
[INFO] [stdout]     |
[INFO] [stdout] 489 -         function: &Mol::Function,
[INFO] [stdout] 489 +         function: &inkwell::attributes::AttributeLoc,
[INFO] [stdout]     |
[INFO] [stdout] 489 -         function: &Mol::Function,
[INFO] [stdout] 489 +         function: &mol_base::ast::Expr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Function` in module `Mol`
[INFO] [stdout]    --> src/codegen.rs:489:25
[INFO] [stdout]     |
[INFO] [stdout] 489 |         function: &Mol::Function,
[INFO] [stdout]     |                         ^^^^^^^^ not found in `Mol`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::codegen::Mol::Expr::Function` and 3 others; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 489 -         function: &Mol::Function,
[INFO] [stdout] 489 +         function: &crate::codegen::Mol::Expr,
[INFO] [stdout]     |
[INFO] [stdout] 489 -         function: &Mol::Function,
[INFO] [stdout] 489 +         function: &inkwell::attributes::AttributeLoc,
[INFO] [stdout]     |
[INFO] [stdout] 489 -         function: &Mol::Function,
[INFO] [stdout] 489 +         function: &mol_base::ast::Expr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `f64` cannot be dereferenced
[INFO] [stdout]    --> src/codegen.rs:106:31
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 .const_float(&**x)
[INFO] [stdout]     |                               ^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0606]: casting `&i32` as `u64` is invalid
[INFO] [stdout]    --> src/codegen.rs:101:28
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 .const_int(x as u64, true)
[INFO] [stdout]     |                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: dereference the expression
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 .const_int(*x as u64, true)
[INFO] [stdout]     |                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `f64` cannot be dereferenced
[INFO] [stdout]    --> src/codegen.rs:106:31
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 .const_float(&**x)
[INFO] [stdout]     |                               ^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `prototype` on type `&Expr`
[INFO] [stdout]    --> src/codegen.rs:454:42
[INFO] [stdout]     |
[INFO] [stdout] 454 |             self.compile_prototype(&func.prototype).unwrap();
[INFO] [stdout]     |                                          ^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0606]: casting `&i32` as `u64` is invalid
[INFO] [stdout]    --> src/codegen.rs:101:28
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 .const_int(x as u64, true)
[INFO] [stdout]     |                            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: dereference the expression
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 .const_int(*x as u64, true)
[INFO] [stdout]     |                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `Vec<BasicMetadataTypeEnum<'_>>` cannot be built from an iterator over elements of type `BasicTypeEnum<'_>`
[INFO] [stdout]    --> src/codegen.rs:472:24
[INFO] [stdout]     |
[INFO] [stdout] 472 |             .collect::<Vec<BasicMetadataTypeEnum>>()
[INFO] [stdout]     |              -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^ value of type `Vec<BasicMetadataTypeEnum<'_>>` cannot be built from `std::iter::Iterator<Item=BasicTypeEnum<'_>>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromIterator<BasicTypeEnum<'_>>` is not implemented for `Vec<BasicMetadataTypeEnum<'_>>`
[INFO] [stdout]       but trait `FromIterator<BasicMetadataTypeEnum<'_>>` is implemented for it
[INFO] [stdout]    --> /rustc/4b9792692fbb675174d4d2082e7c37b2bc930e71/library/alloc/src/vec/mod.rs:3923:0
[INFO] [stdout]     = help: for that trait implementation, expected `BasicMetadataTypeEnum<'_>`, found `BasicTypeEnum<'_>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/codegen.rs:471:14
[INFO] [stdout]     |
[INFO] [stdout] 468 |           let args_types = prototype
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 469 | |             .args
[INFO] [stdout]     | |_________________- this expression has type `Vec<TypedIdentifier>`
[INFO] [stdout] 470 |               .iter()
[INFO] [stdout]     |                ------ `Iterator::Item` is `&TypedIdentifier` here
[INFO] [stdout] 471 |               .map(|t| self.get_type(&t.type_desc))
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `BasicTypeEnum<'_>` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]    --> /rustc/4b9792692fbb675174d4d2082e7c37b2bc930e71/library/core/src/iter/traits/iterator.rs:2077:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `prototype` on type `&Expr`
[INFO] [stdout]    --> src/codegen.rs:454:42
[INFO] [stdout]     |
[INFO] [stdout] 454 |             self.compile_prototype(&func.prototype).unwrap();
[INFO] [stdout]     |                                          ^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mol` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: a value of type `Vec<BasicMetadataTypeEnum<'_>>` cannot be built from an iterator over elements of type `BasicTypeEnum<'_>`
[INFO] [stdout]    --> src/codegen.rs:472:24
[INFO] [stdout]     |
[INFO] [stdout] 472 |             .collect::<Vec<BasicMetadataTypeEnum>>()
[INFO] [stdout]     |              -------   ^^^^^^^^^^^^^^^^^^^^^^^^^^ value of type `Vec<BasicMetadataTypeEnum<'_>>` cannot be built from `std::iter::Iterator<Item=BasicTypeEnum<'_>>`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromIterator<BasicTypeEnum<'_>>` is not implemented for `Vec<BasicMetadataTypeEnum<'_>>`
[INFO] [stdout]       but trait `FromIterator<BasicMetadataTypeEnum<'_>>` is implemented for it
[INFO] [stdout]    --> /rustc/4b9792692fbb675174d4d2082e7c37b2bc930e71/library/alloc/src/vec/mod.rs:3923:0
[INFO] [stdout]     = help: for that trait implementation, expected `BasicMetadataTypeEnum<'_>`, found `BasicTypeEnum<'_>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/codegen.rs:471:14
[INFO] [stdout]     |
[INFO] [stdout] 468 |           let args_types = prototype
[INFO] [stdout]     |  __________________________-
[INFO] [stdout] 469 | |             .args
[INFO] [stdout]     | |_________________- this expression has type `Vec<TypedIdentifier>`
[INFO] [stdout] 470 |               .iter()
[INFO] [stdout]     |                ------ `Iterator::Item` is `&TypedIdentifier` here
[INFO] [stdout] 471 |               .map(|t| self.get_type(&t.type_desc))
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `BasicTypeEnum<'_>` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]    --> /rustc/4b9792692fbb675174d4d2082e7c37b2bc930e71/library/core/src/iter/traits/iterator.rs:2077:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0606, E0609, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0606, E0609, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mol` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "b01baa70f90e7991d73e1b34c812d3d687f5a8a91b2391da20d027ac8a818949", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b01baa70f90e7991d73e1b34c812d3d687f5a8a91b2391da20d027ac8a818949", kill_on_drop: false }`
[INFO] [stdout] b01baa70f90e7991d73e1b34c812d3d687f5a8a91b2391da20d027ac8a818949
