[INFO] fetching crate tree 0.4.1... [INFO] testing tree-0.4.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tree 0.4.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate tree 0.4.1 [INFO] finished tweaking crates.io crate tree 0.4.1 [INFO] tweaked toml for crates.io crate tree 0.4.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tree 0.4.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding compare v0.0.6 (available: v0.1.0) [INFO] [stderr] Adding quickcheck v0.2.27 (available: v1.0.3) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered_iter v0.1.2 [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] 89e0a8353d509740901fec4e11d6863725a757999caac99fa454b5cb5f2953fd [INFO] running `Command { std: "docker" "start" "-a" "89e0a8353d509740901fec4e11d6863725a757999caac99fa454b5cb5f2953fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89e0a8353d509740901fec4e11d6863725a757999caac99fa454b5cb5f2953fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e0a8353d509740901fec4e11d6863725a757999caac99fa454b5cb5f2953fd", kill_on_drop: false }` [INFO] [stdout] 89e0a8353d509740901fec4e11d6863725a757999caac99fa454b5cb5f2953fd [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] 9389f6f1c9475dcec1c2195aa7e98795f776eb2e19246ae10af5f845560aedfb [INFO] running `Command { std: "docker" "start" "-a" "9389f6f1c9475dcec1c2195aa7e98795f776eb2e19246ae10af5f845560aedfb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling compare v0.0.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling ordered_iter v0.1.2 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling quickcheck v0.2.27 [INFO] [stderr] Compiling tree v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `bound` [INFO] [stdout] --> src/node/iter.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | macro_rules! bound { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/quickcheck.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn shrink(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn shrink(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/quickcheck.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn shrink(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn shrink(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/set.rs:235:48 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn max(&self) -> Option<&T> { self.map.max().map(|e| e.0) } [INFO] [stdout] | ^^^-- argument #1 of type `map::Map` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:1013:8 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 235 | pub fn max(&self) -> Option<&T> { self.map.max(/* map::Map */).map(|e| e.0) } [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for struct `map::Map` in the current scope [INFO] [stdout] --> src/set.rs:235:54 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn max(&self) -> Option<&T> { self.map.max().map(|e| e.0) } [INFO] [stdout] | ^^^ `map::Map` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: call `.into_iter()` first [INFO] [stdout] | [INFO] [stdout] 235 | pub fn max(&self) -> Option<&T> { self.map.max().into_iter().map(|e| e.0) } [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/set.rs:291:48 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn min(&self) -> Option<&T> { self.map.min().map(|e| e.0) } [INFO] [stdout] | ^^^-- argument #1 of type `map::Map` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:1052:8 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 291 | pub fn min(&self) -> Option<&T> { self.map.min(/* map::Map */).map(|e| e.0) } [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for struct `map::Map` in the current scope [INFO] [stdout] --> src/set.rs:291:54 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn min(&self) -> Option<&T> { self.map.min().map(|e| e.0) } [INFO] [stdout] | ^^^ `map::Map` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: call `.into_iter()` first [INFO] [stdout] | [INFO] [stdout] 291 | pub fn min(&self) -> Option<&T> { self.map.min().into_iter().map(|e| e.0) } [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tree` (lib) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9389f6f1c9475dcec1c2195aa7e98795f776eb2e19246ae10af5f845560aedfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9389f6f1c9475dcec1c2195aa7e98795f776eb2e19246ae10af5f845560aedfb", kill_on_drop: false }` [INFO] [stdout] 9389f6f1c9475dcec1c2195aa7e98795f776eb2e19246ae10af5f845560aedfb