[INFO] updating cached repository https://github.com/gaultier/kotlin-rs [INFO] running `"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"` [INFO] [stderr] From https://github.com/gaultier/kotlin-rs [INFO] [stderr] a9a5cd3..8660aef master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8660aefea6ab5a8ec5b1b99878b2e9f9cceca5b7 [INFO] checking gaultier/kotlin-rs against try#3ae4c050387df9f7fbb379ee90ce8bf05e566870 for pr-70872 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaultier%2Fkotlin-rs" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaultier/kotlin-rs on toolchain 3ae4c050387df9f7fbb379ee90ce8bf05e566870 [INFO] running `"/workspace/cargo-home/bin/cargo" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/gaultier/kotlin-rs [INFO] finished tweaking git repo https://github.com/gaultier/kotlin-rs [INFO] tweaked toml for git repo https://github.com/gaultier/kotlin-rs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/gaultier/kotlin-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8aa0ab3f981875df66297a2ba729f9acebccfb92d9d5e0584aef7e3ba12b6017 [INFO] running `"docker" "start" "-a" "8aa0ab3f981875df66297a2ba729f9acebccfb92d9d5e0584aef7e3ba12b6017"` [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking kotlin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1548:9 [INFO] [stderr] | [INFO] [stderr] 1548 | assert_eq!(err.kind, ErrorKind::UnknownChar); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1609:9 [INFO] [stderr] | [INFO] [stderr] 1609 | assert_eq!(tok.kind, ErrorKind::TrailingUnderscoreInNumber); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1637:9 [INFO] [stderr] | [INFO] [stderr] 1637 | assert_eq!(tok.kind, ErrorKind::LeadingZeroInNumber); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1651:9 [INFO] [stderr] | [INFO] [stderr] 1651 | assert_eq!(tok.kind, ErrorKind::LeadingZeroInNumber); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1721:9 [INFO] [stderr] | [INFO] [stderr] 1721 | assert_eq!(tok.kind, ErrorKind::InvalidNumberSuffix("L".to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1735:9 [INFO] [stderr] | [INFO] [stderr] 1735 | assert_eq!(tok.kind, ErrorKind::InvalidNumberSuffix("u".to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1749:9 [INFO] [stderr] | [INFO] [stderr] 1749 | assert_eq!(tok.kind, ErrorKind::InvalidNumberSuffix("uL".to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1763:9 [INFO] [stderr] | [INFO] [stderr] 1763 | assert_eq!(tok.kind, ErrorKind::InvalidNumberSuffix("F".to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1850:9 [INFO] [stderr] | [INFO] [stderr] 1850 | assert_eq!(tok.kind, ErrorKind::MissingDigitsInNumber); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:1866:9 [INFO] [stderr] | [INFO] [stderr] 1866 | assert_eq!(tok.kind, ErrorKind::MissingDigitsInNumber); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:2008:9 [INFO] [stderr] | [INFO] [stderr] 2008 | assert_eq!(tok.kind, ErrorKind::MissingExponentInNumber); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:2153:9 [INFO] [stderr] | [INFO] [stderr] 2153 | assert_eq!(tok.kind, ErrorKind::InvalidCharLiteral); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:2167:9 [INFO] [stderr] | [INFO] [stderr] 2167 | assert_eq!(tok.kind, ErrorKind::InvalidCharLiteral); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:2181:9 [INFO] [stderr] | [INFO] [stderr] 2181 | assert_eq!(tok.kind, ErrorKind::InvalidCharLiteral); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:2195:9 [INFO] [stderr] | [INFO] [stderr] 2195 | assert_eq!(tok.kind, ErrorKind::InvalidCharLiteral); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:2209:9 [INFO] [stderr] | [INFO] [stderr] 2209 | assert_eq!(tok.kind, ErrorKind::InvalidCharLiteral); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:2223:9 [INFO] [stderr] | [INFO] [stderr] 2223 | assert_eq!(tok.kind, ErrorKind::InvalidCharLiteral); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:2237:9 [INFO] [stderr] | [INFO] [stderr] 2237 | assert_eq!(tok.kind, ErrorKind::InvalidCharLiteral); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `error::ErrorKind` [INFO] [stderr] --> src/lex.rs:2251:9 [INFO] [stderr] | [INFO] [stderr] 2251 | assert_eq!(tok.kind, ErrorKind::InvalidCharLiteral); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | error::ErrorKind [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `error::ErrorKind` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0369`. [INFO] [stderr] warning: unused variable: `cond` [INFO] [stderr] --> src/jvm_emitter.rs:454:9 [INFO] [stderr] | [INFO] [stderr] 454 | cond: &AstNodeExpr, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `if_body` [INFO] [stderr] --> src/jvm_emitter.rs:455:9 [INFO] [stderr] | [INFO] [stderr] 455 | if_body: &AstNodeStmt, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `else_body` [INFO] [stderr] --> src/jvm_emitter.rs:456:9 [INFO] [stderr] | [INFO] [stderr] 456 | else_body: &AstNodeStmt, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_body` [INFO] [stderr] [INFO] [stderr] error: could not compile `kotlin`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: constant item is never used: `OP_IMPDEP1` [INFO] [stderr] --> src/jvm_constants.rs:75:1 [INFO] [stderr] | [INFO] [stderr] 75 | pub(crate) const OP_IMPDEP1: u8 = 0xfe; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "8aa0ab3f981875df66297a2ba729f9acebccfb92d9d5e0584aef7e3ba12b6017"` [INFO] running `"docker" "rm" "-f" "8aa0ab3f981875df66297a2ba729f9acebccfb92d9d5e0584aef7e3ba12b6017"` [INFO] [stdout] 8aa0ab3f981875df66297a2ba729f9acebccfb92d9d5e0584aef7e3ba12b6017