[INFO] fetching crate oakc 0.6.1... [INFO] testing oakc-0.6.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate oakc 0.6.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate oakc 0.6.1 [INFO] finished tweaking crates.io crate oakc 0.6.1 [INFO] tweaked toml for crates.io crate oakc 0.6.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oakc 0.6.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oakc 0.6.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.19.0 [INFO] [stderr] Downloaded minimad v0.6.5 [INFO] [stderr] Downloaded siphasher v0.3.3 [INFO] [stderr] Downloaded asciicolor v0.1.0 [INFO] [stderr] Downloaded comment-strip v0.1.3 [INFO] [stderr] Downloaded signal-hook v0.1.16 [INFO] [stderr] Downloaded ascii-canvas v2.0.0 [INFO] [stderr] Downloaded string_cache v0.8.0 [INFO] [stderr] Downloaded crossterm_winapi v0.6.1 [INFO] [stderr] Downloaded comment v0.1.0 [INFO] [stderr] Downloaded lalrpop v0.19.0 [INFO] [stderr] Downloaded mio v0.7.0 [INFO] [stderr] Downloaded termimad v0.8.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 003a1e6d6fb3077e04946be78dbccfb75940ef03e52117299a9860c77610642d [INFO] running `Command { std: "docker" "start" "-a" "003a1e6d6fb3077e04946be78dbccfb75940ef03e52117299a9860c77610642d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "003a1e6d6fb3077e04946be78dbccfb75940ef03e52117299a9860c77610642d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "003a1e6d6fb3077e04946be78dbccfb75940ef03e52117299a9860c77610642d", kill_on_drop: false }` [INFO] [stdout] 003a1e6d6fb3077e04946be78dbccfb75940ef03e52117299a9860c77610642d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca0e7696d319b6ad1e4c87e334bad879aeea53fa76fc37872dd06d70f57707f5 [INFO] running `Command { std: "docker" "start" "-a" "ca0e7696d319b6ad1e4c87e334bad879aeea53fa76fc37872dd06d70f57707f5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling minimad v0.6.5 [INFO] [stderr] Compiling asciicolor v0.1.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling crossterm v0.17.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling lalrpop-util v0.19.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling termimad v0.8.25 [INFO] [stderr] Compiling comment-strip v0.1.3 [INFO] [stderr] Compiling comment v0.1.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling lalrpop v0.19.0 [INFO] [stderr] Compiling oakc v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "ca0e7696d319b6ad1e4c87e334bad879aeea53fa76fc37872dd06d70f57707f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0e7696d319b6ad1e4c87e334bad879aeea53fa76fc37872dd06d70f57707f5", kill_on_drop: false }` [INFO] [stdout] ca0e7696d319b6ad1e4c87e334bad879aeea53fa76fc37872dd06d70f57707f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7468d7cc2de41b1d5b2e317203c9ba2750a919072fb95e7a38b94a94220f1755 [INFO] running `Command { std: "docker" "start" "-a" "7468d7cc2de41b1d5b2e317203c9ba2750a919072fb95e7a38b94a94220f1755", kill_on_drop: false }` [INFO] [stderr] Compiling oakc v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "7468d7cc2de41b1d5b2e317203c9ba2750a919072fb95e7a38b94a94220f1755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7468d7cc2de41b1d5b2e317203c9ba2750a919072fb95e7a38b94a94220f1755", kill_on_drop: false }` [INFO] [stdout] 7468d7cc2de41b1d5b2e317203c9ba2750a919072fb95e7a38b94a94220f1755 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9de35ab8aa1690d15253a6678cb573704cb65564fa776566827c6d021e23d0a0 [INFO] running `Command { std: "docker" "start" "-a" "9de35ab8aa1690d15253a6678cb573704cb65564fa776566827c6d021e23d0a0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oakc-b0fa93051d0796db) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin.rs (/opt/rustwide/target/debug/deps/oak-51cd8f5514db35fe) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests oakc [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/tir.rs - tir::TirFunction::member_method (line 305) ... FAILED [INFO] [stdout] test src/tir.rs - tir::TirFunction::member_method (line 297) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tir.rs - tir::TirFunction::member_method (line 305) stdout ---- [INFO] [stdout] error: expected one of `;` or `where`, found `{` [INFO] [stdout] --> src/tir.rs:306:54 [INFO] [stdout] | [INFO] [stdout] 1 | struct Date(sizeof(num) + sizeof(num) + sizeof(num)) { [INFO] [stdout] | ^ expected one of `;` or `where` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tir.rs - tir::TirFunction::member_method (line 297) stdout ---- [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/tir.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 4 | let month: num, [INFO] [stdout] | ^^^- [INFO] [stdout] | | [INFO] [stdout] | expected identifier, found keyword [INFO] [stdout] | help: remove this `let` keyword [INFO] [stdout] | [INFO] [stdout] = note: the `let` keyword is not allowed in `struct` fields [INFO] [stdout] = note: see for more information [INFO] [stdout] [INFO] [stdout] error: struct fields are separated by `,` [INFO] [stdout] --> src/tir.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 3 | struct Date { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 6 | year: num; [INFO] [stdout] | ^ help: replace `;` with `,` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `num` in this scope [INFO] [stdout] --> src/tir.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 4 | let month: num, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `num` in this scope [INFO] [stdout] --> src/tir.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 5 | day: num, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `num` in this scope [INFO] [stdout] --> src/tir.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 6 | year: num; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/tir.rs - tir::TirFunction::member_method (line 297) [INFO] [stdout] src/tir.rs - tir::TirFunction::member_method (line 305) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9de35ab8aa1690d15253a6678cb573704cb65564fa776566827c6d021e23d0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9de35ab8aa1690d15253a6678cb573704cb65564fa776566827c6d021e23d0a0", kill_on_drop: false }` [INFO] [stdout] 9de35ab8aa1690d15253a6678cb573704cb65564fa776566827c6d021e23d0a0