[INFO] fetching crate makods 0.4.1... [INFO] checking makods-0.4.1 against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749 [INFO] extracting crate makods 0.4.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate makods 0.4.1 [INFO] finished tweaking crates.io crate makods 0.4.1 [INFO] tweaked toml for crates.io crate makods 0.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate makods 0.4.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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding rand v0.4.6 (available: v0.10.1) [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: `makods` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1deb2c20e2421678621392dc22e84602878d4449b03a779de7a439a60c8a4ab4 [INFO] running `Command { std: "docker" "start" "1deb2c20e2421678621392dc22e84602878d4449b03a779de7a439a60c8a4ab4", 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" "1deb2c20e2421678621392dc22e84602878d4449b03a779de7a439a60c8a4ab4" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1deb2c20e2421678621392dc22e84602878d4449b03a779de7a439a60c8a4ab4", 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" "1deb2c20e2421678621392dc22e84602878d4449b03a779de7a439a60c8a4ab4" "/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: `makods` (manifest) generated 1 warning [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking makods v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics, 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/jostletree.rs:590:10 [INFO] [stdout] | [INFO] [stdout] 590 | let box Branch{v,parent, ..} = seriously_unwrap((*warp_nref(rr)).take()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/jostletree.rs:621:12 [INFO] [stdout] | [INFO] [stdout] 621 | ... let box Branch{mut left, span, v, parent, ..} = seriously_unwrap(crb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parent` in this scope [INFO] [stdout] --> src/jostletree.rs:591:30 [INFO] [stdout] | [INFO] [stdout] 591 | balancing_starts_with = parent; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/jostletree.rs:622:35 [INFO] [stdout] | [INFO] [stdout] 622 | ... if let Some(ref mut lbr) = left { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parent` in this scope [INFO] [stdout] --> src/jostletree.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 623 | ... lbr.parent = parent; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/jostletree.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | ... (left, (span, v, parent)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `span` in this scope [INFO] [stdout] --> src/jostletree.rs:625:16 [INFO] [stdout] | [INFO] [stdout] 625 | ... (left, (span, v, parent)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `parent` in this scope [INFO] [stdout] --> src/jostletree.rs:625:25 [INFO] [stdout] | [INFO] [stdout] 625 | ... (left, (span, v, parent)) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/jostletree.rs:597:11 [INFO] [stdout] | [INFO] [stdout] 580 | impl<'a,N:Numeric + 'a,T:'a> SlotHandle<'a,N,T>{ [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 585 | let ret; [INFO] [stdout] | --- expected due to the type of this binding [INFO] [stdout] ... [INFO] [stdout] 597 | ret = replace_self_and_return(v, |cherlf|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 598 | | let Branch{v,left:arm, ..} = cherlf; [INFO] [stdout] 599 | | (*seriously_unwrap(arm), v) [INFO] [stdout] 600 | | }); [INFO] [stdout] | |__________________^ expected `&mut Branch`, found type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Branch` [INFO] [stdout] found type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/jostletree.rs:606:11 [INFO] [stdout] | [INFO] [stdout] 580 | impl<'a,N:Numeric + 'a,T:'a> SlotHandle<'a,N,T>{ [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 585 | let ret; [INFO] [stdout] | --- expected due to the type of this binding [INFO] [stdout] ... [INFO] [stdout] 606 | ret = replace_self_and_return(v, |cherlf|{ [INFO] [stdout] | _______________________^ [INFO] [stdout] 607 | | let Branch{v,right:arm, ..} = cherlf; [INFO] [stdout] 608 | | (*seriously_unwrap(arm), v) [INFO] [stdout] 609 | | }); [INFO] [stdout] | |__________________^ expected `&mut Branch`, found type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Branch` [INFO] [stdout] found type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/jostletree.rs:629:21 [INFO] [stdout] | [INFO] [stdout] 580 | impl<'a,N:Numeric + 'a,T:'a> SlotHandle<'a,N,T>{ [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 629 | ret = replace(&mut v.v, item); [INFO] [stdout] | ------- ^^^^^^^^ expected `&mut &mut Branch`, found `&mut T` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut &mut Branch` [INFO] [stdout] found mutable reference `&mut T` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/163937523761cc0def32f1ba9ed63fdf65ad3478/library/core/src/mem/mod.rs:916:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/jostletree.rs:643:3 [INFO] [stdout] | [INFO] [stdout] 580 | impl<'a,N:Numeric + 'a,T:'a> SlotHandle<'a,N,T>{ [INFO] [stdout] | - expected this type parameter [INFO] [stdout] 581 | //returns a ref to the ref in the parent to the given branch [INFO] [stdout] 582 | pub fn remove(self)-> T { [INFO] [stdout] | - expected `T` because of return type [INFO] [stdout] ... [INFO] [stdout] 643 | ret [INFO] [stdout] | ^^^ expected type parameter `T`, found `&mut Branch` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found mutable reference `&mut Branch` [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] [stderr] error: could not compile `makods` (lib) due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1deb2c20e2421678621392dc22e84602878d4449b03a779de7a439a60c8a4ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1deb2c20e2421678621392dc22e84602878d4449b03a779de7a439a60c8a4ab4", kill_on_drop: false }` [INFO] [stdout] 1deb2c20e2421678621392dc22e84602878d4449b03a779de7a439a60c8a4ab4