[INFO] cloning repository https://github.com/vitvakatu/ruoscript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitvakatu/ruoscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fruoscript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fruoscript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57a68ab890814bbe1941ba47b677d7f31e8174c6 [INFO] testing vitvakatu/ruoscript against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fruoscript" "/workspace/builds/worker-49/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-49/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitvakatu/ruoscript on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vitvakatu/ruoscript [INFO] finished tweaking git repo https://github.com/vitvakatu/ruoscript [INFO] tweaked toml for git repo https://github.com/vitvakatu/ruoscript written to /workspace/builds/worker-49/source/Cargo.toml [INFO] crate git repo https://github.com/vitvakatu/ruoscript already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v70.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01e026838e9390c5f04c2c2490b2fa5b4c7ecacdc24e125b6247ac382f0aa3ba [INFO] running `Command { std: "docker" "start" "-a" "01e026838e9390c5f04c2c2490b2fa5b4c7ecacdc24e125b6247ac382f0aa3ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01e026838e9390c5f04c2c2490b2fa5b4c7ecacdc24e125b6247ac382f0aa3ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e026838e9390c5f04c2c2490b2fa5b4c7ecacdc24e125b6247ac382f0aa3ba", kill_on_drop: false }` [INFO] [stdout] 01e026838e9390c5f04c2c2490b2fa5b4c7ecacdc24e125b6247ac382f0aa3ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8abda392222ca88b97ea5e64791ce38130a0869b7af73dfd5101b16e9e323a28 [INFO] running `Command { std: "docker" "start" "-a" "8abda392222ca88b97ea5e64791ce38130a0869b7af73dfd5101b16e9e323a28", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling llvm-sys v70.0.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling ruoscript v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `ruoscript` due to 10 previous errors; 7 warnings emitted [INFO] [stdout] error: unexpected token: `)` [INFO] [stdout] --> src/codegen/mod.rs:96:90 [INFO] [stdout] | [INFO] [stdout] 96 | for (arg, arg_name) in params.iter().zip(proto.args.iter()).zip(proto.ty.) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `context` [INFO] [stdout] --> src/codegen/mod.rs:97:79 [INFO] [stdout] | [INFO] [stdout] 97 | let allocated_value = core::LLVMBuildAlloca(ctx.builder, ) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 98 | context [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/codegen/mod.rs:97:65 [INFO] [stdout] | [INFO] [stdout] 97 | let allocated_value = core::LLVMBuildAlloca(ctx.builder, ) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/codegen/mod.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TYPE_VOID` [INFO] [stdout] --> src/codegen/mod.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use types::{TypedExpr, TYPE_ANY, TYPE_INTEGER, TYPE_VOID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::ast::Expr` [INFO] [stdout] --> src/codegen/any.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use parser::ast::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/codegen/any.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TYPE_ANY`, `TYPE_INTEGER` [INFO] [stdout] --> src/codegen/any.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use types::{TYPE_ANY, TYPE_INTEGER}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `types::FunctionType` is not an iterator [INFO] [stdout] --> src/codegen/mod.rs:96:81 [INFO] [stdout] | [INFO] [stdout] 96 | for (arg, arg_name) in params.iter().zip(proto.args.iter()).zip(proto.ty.) { [INFO] [stdout] | --- ^^^^^^^^ `types::FunctionType` is not an iterator [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `types::FunctionType` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `types::FunctionType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `types::FunctionType` is not an iterator [INFO] [stdout] --> src/codegen/mod.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | for (arg, arg_name) in params.iter().zip(proto.args.iter()).zip(proto.ty.) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `types::FunctionType` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `types::FunctionType` [INFO] [stdout] = note: required because of the requirements on the impl of `Iterator` for `Zip, std::slice::Iter<'_, String>>, types::FunctionType>` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `Zip, std::slice::Iter<'_, String>>, types::FunctionType>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/codegen/mod.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | let allocated_value = core::LLVMBuildAlloca(ctx.builder, ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ----------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/llvm-sys-70.0.0/src/core.rs:1212:12 [INFO] [stdout] | [INFO] [stdout] 1212 | pub fn LLVMBuildAlloca(arg1: LLVMBuilderRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/codegen/mod.rs:100:52 [INFO] [stdout] | [INFO] [stdout] 100 | .insert(arg_name.clone(), (arg.clone(), TYPE_ANY.to_string())); [INFO] [stdout] | ^^^^^^^^^^^ expected *-ptr, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut LLVMValue` [INFO] [stdout] found tuple `(&*mut LLVMValue, &String)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:374:29 [INFO] [stdout] | [INFO] [stdout] 374 | ty: Some(FunctionType { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 375 | | args: vec![], [INFO] [stdout] 376 | | ret: ty, [INFO] [stdout] 377 | | }), [INFO] [stdout] | |__________________________^ expected struct `types::FunctionType`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::FunctionType` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | ty: Some(FunctionType { [INFO] [stdout] | _________________________^ [INFO] [stdout] 411 | | args: arg_types, [INFO] [stdout] 412 | | ret: ty, [INFO] [stdout] 413 | | }), [INFO] [stdout] | |______________________^ expected struct `types::FunctionType`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::FunctionType` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8abda392222ca88b97ea5e64791ce38130a0869b7af73dfd5101b16e9e323a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abda392222ca88b97ea5e64791ce38130a0869b7af73dfd5101b16e9e323a28", kill_on_drop: false }` [INFO] [stdout] 8abda392222ca88b97ea5e64791ce38130a0869b7af73dfd5101b16e9e323a28