[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 beta-2021-08-01 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-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kvakvs/typed_erlc on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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-7/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" "+beta-2021-08-01" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded alphabet-macro v0.1.2
[INFO] [stderr]   Downloaded alphabet v0.2.2
[INFO] [stderr]   Downloaded function_name-proc-macro v0.2.0
[INFO] [stderr]   Downloaded function_name v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 047edd8532f60233cdad841a3bd416573da4233b4b68e231ea4593a14c620831
[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" "047edd8532f60233cdad841a3bd416573da4233b4b68e231ea4593a14c620831", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "047edd8532f60233cdad841a3bd416573da4233b4b68e231ea4593a14c620831", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "047edd8532f60233cdad841a3bd416573da4233b4b68e231ea4593a14c620831", kill_on_drop: false }`
[INFO] [stdout] 047edd8532f60233cdad841a3bd416573da4233b4b68e231ea4593a14c620831
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", 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] 698f689f2712c9b4eeef17b30073e4887a88ea7d249128b7ae8685fe5f3fed7f
[INFO] running `Command { std: "docker" "start" "-a" "698f689f2712c9b4eeef17b30073e4887a88ea7d249128b7ae8685fe5f3fed7f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling alphabet-macro v0.1.2
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.26
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[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] 8   | #[derive(Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[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] 8   | #[derive(Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]     |                 -- in this derive macro expansion
[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] 8  | #[derive(Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |                     --------- in this derive macro expansion
[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] 8  | #[derive(Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |                     --------- in this derive macro expansion
[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] 8   | #[derive(Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]     |                                ---- in this derive macro expansion
[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` due to 14 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "698f689f2712c9b4eeef17b30073e4887a88ea7d249128b7ae8685fe5f3fed7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "698f689f2712c9b4eeef17b30073e4887a88ea7d249128b7ae8685fe5f3fed7f", kill_on_drop: false }`
[INFO] [stdout] 698f689f2712c9b4eeef17b30073e4887a88ea7d249128b7ae8685fe5f3fed7f
