[INFO] fetching crate mochi-lang 0.1.1... [INFO] checking mochi-lang-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mochi-lang 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate mochi-lang 0.1.1 [INFO] finished tweaking crates.io crate mochi-lang 0.1.1 [INFO] tweaked toml for crates.io crate mochi-lang 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mochi-lang 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mochi-lang 0.1.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 575d46e0b5122648502c27ffc3b4d75231e1897aeb99e264af39ad7937f8e53e [INFO] running `Command { std: "docker" "start" "-a" "575d46e0b5122648502c27ffc3b4d75231e1897aeb99e264af39ad7937f8e53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "575d46e0b5122648502c27ffc3b4d75231e1897aeb99e264af39ad7937f8e53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575d46e0b5122648502c27ffc3b4d75231e1897aeb99e264af39ad7937f8e53e", kill_on_drop: false }` [INFO] [stdout] 575d46e0b5122648502c27ffc3b4d75231e1897aeb99e264af39ad7937f8e53e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8087024eb878a70d7ea63164c7a0177727aec53646c66b830165d8fcce5dc20a [INFO] running `Command { std: "docker" "start" "-a" "8087024eb878a70d7ea63164c7a0177727aec53646c66b830165d8fcce5dc20a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking mochi-lang v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `extract_if` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(extract_if)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extract_if` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(extract_if)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/types/type.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | .extract_if(|_, v| matches!(v, Type::UncheckedFunction { .. })) [INFO] [stdout] | ^^^^^^^^^^---------------------------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/collections/btree/map.rs:1440:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 261 | .extract_if(|_, v| matches!(v, Type::UncheckedFunction { .. }), /* pred */) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@src/types/type.rs:261:29: 261:35}: RangeBounds` is not satisfied [INFO] [stdout] --> src/types/type.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | .extract_if(|_, v| matches!(v, Type::UncheckedFunction { .. })) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for closure `{closure@src/types/type.rs:261:29: 261:35}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::extract_if` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/collections/btree/map.rs:1440:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `ExtractIf<'_, TypeId, Type, {closure@type.rs:261:29}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types/type.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 260 | let fns = types [INFO] [stdout] | _______________________- [INFO] [stdout] 261 | | .extract_if(|_, v| matches!(v, Type::UncheckedFunction { .. })) [INFO] [stdout] | | ------ doesn't satisfy `_: RangeBounds` [INFO] [stdout] 262 | | .collect::>(); [INFO] [stdout] | | -^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{closure@src/types/type.rs:261:29: 261:35}: RangeBounds` [INFO] [stdout] which is required by `std::collections::btree_map::ExtractIf<'_, type_id::TypeId, r#type::Type, {closure@src/types/type.rs:261:29: 261:35}, _>: Iterator` [INFO] [stdout] `std::collections::btree_map::ExtractIf<'_, type_id::TypeId, r#type::Type, {closure@src/types/type.rs:261:29: 261:35}, _>: Iterator` [INFO] [stdout] which is required by `&mut std::collections::btree_map::ExtractIf<'_, type_id::TypeId, r#type::Type, {closure@src/types/type.rs:261:29: 261:35}, _>: Iterator` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mochi-01679bf78f5c3909.long-type-15654087454194086321.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/types/type.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | .extract_if(|_, v| matches!(v, Type::UncheckedFunction { .. })) [INFO] [stdout] | ^^^^^^^^^^---------------------------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/collections/btree/map.rs:1440:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 261 | .extract_if(|_, v| matches!(v, Type::UncheckedFunction { .. }), /* pred */) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@src/types/type.rs:261:29: 261:35}: RangeBounds` is not satisfied [INFO] [stdout] --> src/types/type.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | .extract_if(|_, v| matches!(v, Type::UncheckedFunction { .. })) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for closure `{closure@src/types/type.rs:261:29: 261:35}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::extract_if` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/collections/btree/map.rs:1440:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `ExtractIf<'_, TypeId, Type, {closure@type.rs:261:29}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types/type.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 260 | let fns = types [INFO] [stdout] | _______________________- [INFO] [stdout] 261 | | .extract_if(|_, v| matches!(v, Type::UncheckedFunction { .. })) [INFO] [stdout] | | ------ doesn't satisfy `_: RangeBounds` [INFO] [stdout] 262 | | .collect::>(); [INFO] [stdout] | | -^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{closure@src/types/type.rs:261:29: 261:35}: RangeBounds` [INFO] [stdout] which is required by `std::collections::btree_map::ExtractIf<'_, type_id::TypeId, r#type::Type, {closure@src/types/type.rs:261:29: 261:35}, _>: Iterator` [INFO] [stdout] `std::collections::btree_map::ExtractIf<'_, type_id::TypeId, r#type::Type, {closure@src/types/type.rs:261:29: 261:35}, _>: Iterator` [INFO] [stdout] which is required by `&mut std::collections::btree_map::ExtractIf<'_, type_id::TypeId, r#type::Type, {closure@src/types/type.rs:261:29: 261:35}, _>: Iterator` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mochi-4a3b45977a7d78bd.long-type-8690923044212379809.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mochi-lang` (bin "mochi") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mochi-lang` (bin "mochi" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8087024eb878a70d7ea63164c7a0177727aec53646c66b830165d8fcce5dc20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8087024eb878a70d7ea63164c7a0177727aec53646c66b830165d8fcce5dc20a", kill_on_drop: false }` [INFO] [stdout] 8087024eb878a70d7ea63164c7a0177727aec53646c66b830165d8fcce5dc20a