[INFO] cloning repository https://github.com/kvakvs/typed_erlc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kvakvs/typed_erlc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvakvs%2Ftyped_erlc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvakvs%2Ftyped_erlc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c999b89d882c66218dbb251b91767b343076b714
[INFO] testing kvakvs/typed_erlc against 1.54.0 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvakvs%2Ftyped_erlc" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kvakvs/typed_erlc on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kvakvs/typed_erlc
[INFO] finished tweaking git repo https://github.com/kvakvs/typed_erlc
[INFO] tweaked toml for git repo https://github.com/kvakvs/typed_erlc written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/kvakvs/typed_erlc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "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] e2caf386feb24e92b71bd483052b1176045d4cf3002e0276e20073026d80fe38
[INFO] running `Command { std: "docker" "start" "-a" "e2caf386feb24e92b71bd483052b1176045d4cf3002e0276e20073026d80fe38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2caf386feb24e92b71bd483052b1176045d4cf3002e0276e20073026d80fe38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2caf386feb24e92b71bd483052b1176045d4cf3002e0276e20073026d80fe38", kill_on_drop: false }`
[INFO] [stdout] e2caf386feb24e92b71bd483052b1176045d4cf3002e0276e20073026d80fe38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d7397e7f5f891481754fc5dcf278fd70e0ed461598f418574f33913f8235ffe
[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" "8d7397e7f5f891481754fc5dcf278fd70e0ed461598f418574f33913f8235ffe", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling alphabet-macro v0.1.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.26
[INFO] [stderr]    Compiling alphabet v0.2.2
[INFO] [stderr]    Compiling thiserror v1.0.26
[INFO] [stderr]    Compiling function_name-proc-macro v0.2.0
[INFO] [stderr]    Compiling function_name v0.2.0
[INFO] [stderr]    Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler)
[INFO] [stdout] warning: unused import: `crate::typing::function_clause_type::FunctionClauseType`
[INFO] [stdout]   --> compiler/src/typing/erl_type.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::typing::function_clause_type::FunctionClauseType;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> compiler/src/typing/unifier.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 99  |     unimplemented!("Unify {} vs {}", fun1, fun2);
[INFO] [stdout]     |     --------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 111 |     Ok(())
[INFO] [stdout]     |     ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> compiler/src/typing/unifier.rs:274:70
[INFO] [stdout]     |
[INFO] [stdout] 274 |             || fun_type.clauses.iter().any(|a| self.occurs_check(tv, a));
[INFO] [stdout]     |                                                                      ^ expected enum `ErlType`, found struct `FunctionClauseType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&ErlType`
[INFO] [stdout]                found reference `&FunctionClauseType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> compiler/src/typing/unifier.rs:318:38
[INFO] [stdout]     |
[INFO] [stdout] 318 |             .map(|t| self.infer_type(t))
[INFO] [stdout]     |                                      ^ expected enum `ErlType`, found struct `FunctionClauseType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&ErlType`
[INFO] [stdout]                found reference `&FunctionClauseType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `Vec<FunctionClauseType>` cannot be built from an iterator over elements of type `ErlType`
[INFO] [stdout]    --> compiler/src/typing/unifier.rs:319:14
[INFO] [stdout]     |
[INFO] [stdout] 319 |             .collect(),
[INFO] [stdout]     |              ^^^^^^^ value of type `Vec<FunctionClauseType>` cannot be built from `std::iter::Iterator<Item=ErlType>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromIterator<ErlType>` is not implemented for `Vec<FunctionClauseType>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `arity` in initializer of `FunctionType`
[INFO] [stdout]    --> compiler/src/typing/unifier.rs:315:32
[INFO] [stdout]     |
[INFO] [stdout] 315 |       return ErlType::Function(FunctionType {
[INFO] [stdout]     |                                ^^^^^^^^^^^^ missing `arity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `FunctionClauseType: Clone` is not satisfied
[INFO] [stdout]   --> compiler/src/typing/function_type.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   pub clauses: Vec<FunctionClauseType>,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an implementor of trait `Clone`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `Clone` for `Vec<FunctionClauseType>`
[INFO] [stdout]    = note: required by `clone`
[INFO] [stdout]    = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `FunctionClauseType: std::cmp::Eq` is not satisfied
[INFO] [stdout]    --> compiler/src/typing/function_type.rs:16:3
[INFO] [stdout]     |
[INFO] [stdout] 16  |   pub clauses: Vec<FunctionClauseType>,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `FunctionClauseType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required because of the requirements on the impl of `std::cmp::Eq` for `Vec<FunctionClauseType>`
[INFO] [stdout]     = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec<FunctionClauseType>`
[INFO] [stdout]   --> compiler/src/typing/function_type.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   pub clauses: Vec<FunctionClauseType>,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Vec<FunctionClauseType>`
[INFO] [stdout]   --> compiler/src/typing/function_type.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   pub clauses: Vec<FunctionClauseType>,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `FunctionClauseType: Hash` is not satisfied
[INFO] [stdout]    --> compiler/src/typing/function_type.rs:16:3
[INFO] [stdout]     |
[INFO] [stdout] 16  |   pub clauses: Vec<FunctionClauseType>,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `FunctionClauseType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required because of the requirements on the impl of `Hash` for `Vec<FunctionClauseType>`
[INFO] [stdout]     = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `args` on type `FunctionClauseType`
[INFO] [stdout]   --> compiler/src/typing/function_type.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let arity = clauses[0].args.len();
[INFO] [stdout]    |                            ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `arg_types`, `ret_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `args` on type `&FunctionClauseType`
[INFO] [stdout]   --> compiler/src/typing/function_type.rs:26:38
[INFO] [stdout]    |
[INFO] [stdout] 26 |     assert!(clauses.iter().all(|c| c.args.len() == arity));
[INFO] [stdout]    |                                      ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `arg_types`, `ret_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `HashSet<ErlType>` cannot be built from an iterator over elements of type `Box<ErlType>`
[INFO] [stdout]   --> compiler/src/typing/function_type.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 |         .collect();
[INFO] [stdout]    |          ^^^^^^^ value of type `HashSet<ErlType>` cannot be built from `std::iter::Iterator<Item=Box<ErlType>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromIterator<Box<ErlType>>` is not implemented for `HashSet<ErlType>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> compiler/src/typing/function_type.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     display_semicolon_separated(self.clauses);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------ supplied 1 argument
[INFO] [stdout]    |     |
[INFO] [stdout]    |     expected 2 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> compiler/src/display.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn display_semicolon_separated<T>(elems: &[T], f: &mut fmt::Formatter) -> fmt::Result
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^    -----------  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0308, E0369, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compiler`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8d7397e7f5f891481754fc5dcf278fd70e0ed461598f418574f33913f8235ffe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d7397e7f5f891481754fc5dcf278fd70e0ed461598f418574f33913f8235ffe", kill_on_drop: false }`
[INFO] [stdout] 8d7397e7f5f891481754fc5dcf278fd70e0ed461598f418574f33913f8235ffe
