[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] 8660aef..c1098c1 master -> master [INFO] [stderr] * [new branch] opcode_struct -> opcode_struct [INFO] [stderr] * [new branch] use-code-builder -> use-code-builder [INFO] [stderr] * [new branch] verify-at-end -> verify-at-end [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c1098c153ff8f56bb87d56cc254682bcff994c69 [INFO] checking gaultier/kotlin-rs against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaultier%2Fkotlin-rs" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaultier/kotlin-rs on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a [INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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-4/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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=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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] edd6f6b7020047120b04a9d46af10d934705adf87fba3b2a2add7bb531b01b39 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "edd6f6b7020047120b04a9d46af10d934705adf87fba3b2a2add7bb531b01b39"` [INFO] [stderr] Checking regex-syntax v0.6.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking aho-corasick v0.7.9 [INFO] [stderr] Checking clap v2.33.0 [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] warning: variant is never constructed: `FullFrame` [INFO] [stderr] --> src/jvm_emitter.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | / FullFrame { [INFO] [stderr] 106 | | offset: u16, [INFO] [stderr] 107 | | locals: Vec, [INFO] [stderr] 108 | | stack: Vec, [INFO] [stderr] 109 | | }, // More to come [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `locals_pop` [INFO] [stderr] --> src/jvm_emitter.rs:323:5 [INFO] [stderr] | [INFO] [stderr] 323 | fn locals_pop(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `locals_pop2` [INFO] [stderr] --> src/jvm_emitter.rs:329:5 [INFO] [stderr] | [INFO] [stderr] 329 | fn locals_pop2(&mut self) -> Result<[Type; 2], Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `locals_push` [INFO] [stderr] --> src/jvm_emitter.rs:335:5 [INFO] [stderr] | [INFO] [stderr] 335 | fn locals_push(&mut self, t: Type) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `verify` [INFO] [stderr] --> src/jvm_emitter.rs:362:5 [INFO] [stderr] | [INFO] [stderr] 362 | fn verify(&mut self) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 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] error: build failed [INFO] running `"docker" "inspect" "edd6f6b7020047120b04a9d46af10d934705adf87fba3b2a2add7bb531b01b39"` [INFO] running `"docker" "rm" "-f" "edd6f6b7020047120b04a9d46af10d934705adf87fba3b2a2add7bb531b01b39"` [INFO] [stdout] edd6f6b7020047120b04a9d46af10d934705adf87fba3b2a2add7bb531b01b39