[INFO] cloning repository https://github.com/eduhenke/ferrugem-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eduhenke/ferrugem-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduhenke%2Fferrugem-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduhenke%2Fferrugem-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39fe777348eb4bc0b9d55c151db2c214ce85d568 [INFO] checking eduhenke/ferrugem-lang against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduhenke%2Fferrugem-lang" "/workspace/builds/worker-90/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-90/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eduhenke/ferrugem-lang on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eduhenke/ferrugem-lang [INFO] finished tweaking git repo https://github.com/eduhenke/ferrugem-lang [INFO] tweaked toml for git repo https://github.com/eduhenke/ferrugem-lang written to /workspace/builds/worker-90/source/Cargo.toml [INFO] crate git repo https://github.com/eduhenke/ferrugem-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0684c6fe3f3cabcdb7acfe47f39194ba9b1258332d76b8119ea07ea79ba60bb [INFO] running `Command { std: "docker" "start" "-a" "f0684c6fe3f3cabcdb7acfe47f39194ba9b1258332d76b8119ea07ea79ba60bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0684c6fe3f3cabcdb7acfe47f39194ba9b1258332d76b8119ea07ea79ba60bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0684c6fe3f3cabcdb7acfe47f39194ba9b1258332d76b8119ea07ea79ba60bb", kill_on_drop: false }` [INFO] [stdout] f0684c6fe3f3cabcdb7acfe47f39194ba9b1258332d76b8119ea07ea79ba60bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55477db0e361dbe32510ae6549de74e33ca6bd8a0e16cdebb5f62091991a4711 [INFO] running `Command { std: "docker" "start" "-a" "55477db0e361dbe32510ae6549de74e33ca6bd8a0e16cdebb5f62091991a4711", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling beef v0.5.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Compiling ferrugem-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Not`, `Ref` [INFO] [stdout] --> src/semantic.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | collections::HashMap, [INFO] [stdout] 5 | ops::{Deref, Not}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinOp`, `UnaryOp` [INFO] [stdout] --> src/semantic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BinOp, Expression, FunctionDefinition, LValue, Program, Statement, Type, UnaryOp, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Not`, `Ref` [INFO] [stdout] --> src/semantic.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | collections::HashMap, [INFO] [stdout] 5 | ops::{Deref, Not}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinOp`, `UnaryOp` [INFO] [stdout] --> src/semantic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BinOp, Expression, FunctionDefinition, LValue, Program, Statement, Type, UnaryOp, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/semantic.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/semantic.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/semantic.rs:181:69 [INFO] [stdout] | [INFO] [stdout] 181 | .and_then(|stmt| stmt.type_check(f_scope).map(|(sc, ty)| ty).ok()) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/semantic.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | Expression::Binary(rhs, op, lhs) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/semantic.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | Expression::Unary(op, expr) => expr.type_check(scope).and_then(|(scope, ty)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `false_path` [INFO] [stdout] --> src/semantic.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | false_path, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `false_path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/semantic.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/semantic.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/semantic.rs:181:69 [INFO] [stdout] | [INFO] [stdout] 181 | .and_then(|stmt| stmt.type_check(f_scope).map(|(sc, ty)| ty).ok()) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/semantic.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | Expression::Binary(rhs, op, lhs) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/semantic.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | Expression::Unary(op, expr) => expr.type_check(scope).and_then(|(scope, ty)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `false_path` [INFO] [stdout] --> src/semantic.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | false_path, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `false_path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "55477db0e361dbe32510ae6549de74e33ca6bd8a0e16cdebb5f62091991a4711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55477db0e361dbe32510ae6549de74e33ca6bd8a0e16cdebb5f62091991a4711", kill_on_drop: false }` [INFO] [stdout] 55477db0e361dbe32510ae6549de74e33ca6bd8a0e16cdebb5f62091991a4711