[INFO] fetching crate doublify-toolkit 0.1.1... [INFO] checking doublify-toolkit-0.1.1 against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749 [INFO] extracting crate doublify-toolkit 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate doublify-toolkit 0.1.1 [INFO] finished tweaking crates.io crate doublify-toolkit 0.1.1 [INFO] tweaked toml for crates.io crate doublify-toolkit 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate doublify-toolkit 0.1.1 on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `doublify-toolkit` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0210e3d2cef5dff2c6e2d171654db3203e36e9d284c54ce8d425d32c4d7634bd [INFO] running `Command { std: "docker" "start" "0210e3d2cef5dff2c6e2d171654db3203e36e9d284c54ce8d425d32c4d7634bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0210e3d2cef5dff2c6e2d171654db3203e36e9d284c54ce8d425d32c4d7634bd" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0210e3d2cef5dff2c6e2d171654db3203e36e9d284c54ce8d425d32c4d7634bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0210e3d2cef5dff2c6e2d171654db3203e36e9d284c54ce8d425d32c4d7634bd" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `doublify-toolkit` (manifest) generated 1 warning [INFO] [stderr] Checking doublify-toolkit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let new_name = if let Some(box Expression::Literal(Literal::Identifier(ref name))) = *children { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | box Expression::Literal(ref binding) => filter.bindings.push(binding.to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | box Expression::OrExpression(OrExpression { ref children }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | box Expression::InExpression(InExpression { ref children }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | box Expression::Literal(binding) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let new_name = if let Some(box Expression::Literal(Literal::Identifier(ref name))) = *children { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | box Expression::Literal(ref binding) => filter.bindings.push(binding.to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | box Expression::OrExpression(OrExpression { ref children }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | box Expression::InExpression(InExpression { ref children }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/filtering/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | box Expression::Literal(binding) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `binding` in this scope [INFO] [stdout] --> src/filtering/mod.rs:81:68 [INFO] [stdout] | [INFO] [stdout] 81 | box Expression::Literal(ref binding) => filter.bindings.push(binding.to_owned()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `binding` in this scope [INFO] [stdout] --> src/filtering/mod.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | .push(kind.take().map_or(binding, traverse)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `binding` in this scope [INFO] [stdout] --> src/filtering/mod.rs:81:68 [INFO] [stdout] | [INFO] [stdout] 81 | box Expression::Literal(ref binding) => filter.bindings.push(binding.to_owned()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `binding` in this scope [INFO] [stdout] --> src/filtering/mod.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | .push(kind.take().map_or(binding, traverse)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> src/filtering/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 66 | let new_name = if let Some(box Expression::Literal(Literal::Identifier(ref name))) = *children { [INFO] [stdout] | ------------------------------------------------------------------------------- `if` and `else` have incompatible types [INFO] [stdout] 67 | name [INFO] [stdout] | ---- expected because of this [INFO] [stdout] 68 | } else if let Literal::Identifier(ref name) = *name { [INFO] [stdout] | __________^ [INFO] [stdout] 69 | | name [INFO] [stdout] 70 | | } else { [INFO] [stdout] 71 | | default [INFO] [stdout] 72 | | }; [INFO] [stdout] | |___^ expected `&Literal`, found `&String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Literal` [INFO] [stdout] found reference `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> src/filtering/mod.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 66 | let new_name = if let Some(box Expression::Literal(Literal::Identifier(ref name))) = *children { [INFO] [stdout] | ------------------------------------------------------------------------------- `if` and `else` have incompatible types [INFO] [stdout] 67 | name [INFO] [stdout] | ---- expected because of this [INFO] [stdout] 68 | } else if let Literal::Identifier(ref name) = *name { [INFO] [stdout] | __________^ [INFO] [stdout] 69 | | name [INFO] [stdout] 70 | | } else { [INFO] [stdout] 71 | | default [INFO] [stdout] 72 | | }; [INFO] [stdout] | |___^ expected `&Literal`, found `&String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Literal` [INFO] [stdout] found reference `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filtering/mod.rs:102:42 [INFO] [stdout] | [INFO] [stdout] 102 | traverse_children(&mut filter, children); [INFO] [stdout] | ----------------- ^^^^^^^^ expected `&Vec>`, found `&mut Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found mutable reference `&mut Option>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/filtering/mod.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn traverse_children(filter: &mut Filter, children: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filtering/mod.rs:102:42 [INFO] [stdout] | [INFO] [stdout] 102 | traverse_children(&mut filter, children); [INFO] [stdout] | ----------------- ^^^^^^^^ expected `&Vec>`, found `&mut Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found mutable reference `&mut Option>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/filtering/mod.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn traverse_children(filter: &mut Filter, children: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filtering/mod.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | traverse_children(&mut filter, children); [INFO] [stdout] | ----------------- ^^^^^^^^ expected `&Vec>`, found `&mut Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found mutable reference `&mut Option>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/filtering/mod.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn traverse_children(filter: &mut Filter, children: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filtering/mod.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | traverse_children(&mut filter, children); [INFO] [stdout] | ----------------- ^^^^^^^^ expected `&Vec>`, found `&mut Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found mutable reference `&mut Option>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/filtering/mod.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn traverse_children(filter: &mut Filter, children: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `doublify-toolkit` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `doublify-toolkit` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "0210e3d2cef5dff2c6e2d171654db3203e36e9d284c54ce8d425d32c4d7634bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0210e3d2cef5dff2c6e2d171654db3203e36e9d284c54ce8d425d32c4d7634bd", kill_on_drop: false }` [INFO] [stdout] 0210e3d2cef5dff2c6e2d171654db3203e36e9d284c54ce8d425d32c4d7634bd