[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/5d57aecadd4315bd01ac8b68b96d9a896600756b against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsnam%2Fmolva" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dsnam/molva on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/TheDan64/inkwell` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v100.2.3 [INFO] [stderr] Downloaded string_cache v0.8.0 [INFO] [stderr] Downloaded thiserror v1.0.33 [INFO] [stderr] Downloaded thiserror-impl v1.0.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee99e766e52d9f927c263ef7ceab24dd652794385fd194d51a48cb75d6571f84 [INFO] running `Command { std: "docker" "start" "-a" "ee99e766e52d9f927c263ef7ceab24dd652794385fd194d51a48cb75d6571f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee99e766e52d9f927c263ef7ceab24dd652794385fd194d51a48cb75d6571f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee99e766e52d9f927c263ef7ceab24dd652794385fd194d51a48cb75d6571f84", kill_on_drop: false }` [INFO] [stdout] ee99e766e52d9f927c263ef7ceab24dd652794385fd194d51a48cb75d6571f84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a27dc01a6fb2c02e2d6aa2cd035dce5a55a35e95125ceffff7ff63ba2042bd48 [INFO] running `Command { std: "docker" "start" "-a" "a27dc01a6fb2c02e2d6aa2cd035dce5a55a35e95125ceffff7ff63ba2042bd48", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#75284de8) [INFO] [stderr] Checking mol_base v0.1.0 (/opt/rustwide/workdir/base) [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking lalrpop-util v0.19.8 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling llvm-sys v100.2.3 [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[E0412]: 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: &crate::codegen::Mol::Expr, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 489 | function: &inkwell::attributes::AttributeLoc, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 489 | function: &mol_base::ast::Expr, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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: &crate::codegen::Mol::Expr, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 489 | function: &inkwell::attributes::AttributeLoc, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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] | ^^^ [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] | ^^^ [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[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[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[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[E0277]: a value of type `Vec>` cannot be built from an iterator over elements of type `BasicTypeEnum<'_>` [INFO] [stdout] --> src/codegen.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 472 | .collect::>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ value of type `Vec>` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator>` is not implemented for `Vec>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [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` [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:1967:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec>` cannot be built from an iterator over elements of type `BasicTypeEnum<'_>` [INFO] [stdout] --> src/codegen.rs:472:24 [INFO] [stdout] | [INFO] [stdout] 472 | .collect::>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ value of type `Vec>` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator>` is not implemented for `Vec>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [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` [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:1967:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, 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, E0412, 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) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mol` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "a27dc01a6fb2c02e2d6aa2cd035dce5a55a35e95125ceffff7ff63ba2042bd48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a27dc01a6fb2c02e2d6aa2cd035dce5a55a35e95125ceffff7ff63ba2042bd48", kill_on_drop: false }` [INFO] [stdout] a27dc01a6fb2c02e2d6aa2cd035dce5a55a35e95125ceffff7ff63ba2042bd48