[INFO] updating cached repository https://github.com/vitvakatu/ruoscript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57a68ab890814bbe1941ba47b677d7f31e8174c6 [INFO] testing vitvakatu/ruoscript against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fruoscript" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitvakatu/ruoscript on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 142c757c94ad8d871c919977fa954ddd3f2ba0236c1886227bd62b920c173a11 [INFO] running `Command { std: "docker" "start" "-a" "142c757c94ad8d871c919977fa954ddd3f2ba0236c1886227bd62b920c173a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "142c757c94ad8d871c919977fa954ddd3f2ba0236c1886227bd62b920c173a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "142c757c94ad8d871c919977fa954ddd3f2ba0236c1886227bd62b920c173a11", kill_on_drop: false }` [INFO] [stdout] 142c757c94ad8d871c919977fa954ddd3f2ba0236c1886227bd62b920c173a11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7529fbd56fd56f632b738982931da6068465dbdd976bd3b9f0eb788f7c0f65c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e7529fbd56fd56f632b738982931da6068465dbdd976bd3b9f0eb788f7c0f65c", kill_on_drop: false }` [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 ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling quick-error v1.2.2 [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 memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [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] [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] = help: the trait `std::iter::Iterator` is not implemented for `types::FunctionType` [INFO] [stdout] = note: required because of the requirements on the impl of `std::iter::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 `std::iter::Iterator` is not implemented for `types::FunctionType` [INFO] [stdout] = note: required because of the requirements on the impl of `std::iter::Iterator` for `std::iter::Zip, std::slice::Iter<'_, std::string::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] [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 llvm_sys::LLVMValue` [INFO] [stdout] found tuple `(&*mut llvm_sys::LLVMValue, &std::string::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 `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::FunctionType` [INFO] [stdout] found enum `std::option::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 `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::FunctionType` [INFO] [stdout] found enum `std::option::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] [stderr] error: could not compile `ruoscript`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e7529fbd56fd56f632b738982931da6068465dbdd976bd3b9f0eb788f7c0f65c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7529fbd56fd56f632b738982931da6068465dbdd976bd3b9f0eb788f7c0f65c", kill_on_drop: false }` [INFO] [stdout] e7529fbd56fd56f632b738982931da6068465dbdd976bd3b9f0eb788f7c0f65c