[INFO] cloning repository https://github.com/Wulf0x67E7/buffman_tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wulf0x67E7/buffman_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWulf0x67E7%2Fbuffman_tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWulf0x67E7%2Fbuffman_tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f19cb0a54b7c4cc355589f08ddb4de43b695eab [INFO] checking Wulf0x67E7/buffman_tree against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWulf0x67E7%2Fbuffman_tree" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Wulf0x67E7/buffman_tree [INFO] finished tweaking git repo https://github.com/Wulf0x67E7/buffman_tree [INFO] tweaked toml for git repo https://github.com/Wulf0x67E7/buffman_tree written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Wulf0x67E7/buffman_tree on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Wulf0x67E7/buffman_tree 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8ba550761adccf355030478eac9d3291355b83e7daa9b5b4e801c27fc26a825f [INFO] running `Command { std: "docker" "start" "8ba550761adccf355030478eac9d3291355b83e7daa9b5b4e801c27fc26a825f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ba550761adccf355030478eac9d3291355b83e7daa9b5b4e801c27fc26a825f", 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" "8ba550761adccf355030478eac9d3291355b83e7daa9b5b4e801c27fc26a825f" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ba550761adccf355030478eac9d3291355b83e7daa9b5b4e801c27fc26a825f", 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" "8ba550761adccf355030478eac9d3291355b83e7daa9b5b4e801c27fc26a825f" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xoshiro v0.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling quickcheck_macros v1.1.0 [INFO] [stderr] Checking buffman_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/trie/handle.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/trie/handle.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | Self::from(usize::MAX) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/trie/handle.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | self.0 == usize::MAX [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Handle` [INFO] [stdout] --> src/trie/node.rs:47:62 [INFO] [stdout] | [INFO] [stdout] 47 | DataHandle::Branch(handle) => DataHandle::Branch(handle.leak().into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 47 - DataHandle::Branch(handle) => DataHandle::Branch(handle.leak().into()), [INFO] [stdout] 47 + DataHandle::Branch(handle) => DataHandle::Branch(handle.leak()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 47 - DataHandle::Branch(handle) => DataHandle::Branch(handle.leak().into()), [INFO] [stdout] 47 + DataHandle::Branch(handle) => DataHandle::Branch( as Into<_>>::into(handle.leak())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Handle` [INFO] [stdout] --> src/trie/node.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | branch: branch.leak().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 50 - branch: branch.leak().into(), [INFO] [stdout] 50 + branch: branch.leak(), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 50 - branch: branch.leak().into(), [INFO] [stdout] 50 + branch: as Into<_>>::into(branch.leak()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Handle` [INFO] [stdout] --> src/trie/node.rs:63:82 [INFO] [stdout] | [INFO] [stdout] 63 | DataHandle::Branch(branch) | DataHandle::Full { branch, .. } => Some(branch.into()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 63 - DataHandle::Branch(branch) | DataHandle::Full { branch, .. } => Some(branch.into()), [INFO] [stdout] 63 + DataHandle::Branch(branch) | DataHandle::Full { branch, .. } => Some(branch), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 63 - DataHandle::Branch(branch) | DataHandle::Full { branch, .. } => Some(branch.into()), [INFO] [stdout] 63 + DataHandle::Branch(branch) | DataHandle::Full { branch, .. } => Some( as Into<_>>::into(branch)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Handle` [INFO] [stdout] --> src/trie/node.rs:70:55 [INFO] [stdout] | [INFO] [stdout] 70 | DataHandle::Branch(branch) => (None, Some(branch.into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 70 - DataHandle::Branch(branch) => (None, Some(branch.into())), [INFO] [stdout] 70 + DataHandle::Branch(branch) => (None, Some(branch)), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 70 - DataHandle::Branch(branch) => (None, Some(branch.into())), [INFO] [stdout] 70 + DataHandle::Branch(branch) => (None, Some( as Into<_>>::into(branch))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Handle` [INFO] [stdout] --> src/trie/node.rs:71:68 [INFO] [stdout] | [INFO] [stdout] 71 | DataHandle::Full { leaf, branch } => (Some(leaf), Some(branch.into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 71 - DataHandle::Full { leaf, branch } => (Some(leaf), Some(branch.into())), [INFO] [stdout] 71 + DataHandle::Full { leaf, branch } => (Some(leaf), Some(branch)), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 71 - DataHandle::Full { leaf, branch } => (Some(leaf), Some(branch.into())), [INFO] [stdout] 71 + DataHandle::Full { leaf, branch } => (Some(leaf), Some( as Into<_>>::into(branch))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Handle` [INFO] [stdout] --> src/trie/node.rs:335:33 [INFO] [stdout] | [INFO] [stdout] 335 | branch_handle = Handle::new( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 336 | | branches, [INFO] [stdout] 337 | | B::default_with_owner( [INFO] [stdout] 338 | | #[cfg(feature = "testing")] [INFO] [stdout] ... | [INFO] [stdout] 342 | | .into(); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 341 - ) [INFO] [stdout] 342 - .into(); [INFO] [stdout] 341 + ); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 335 ~ branch_handle = as Into<_>>::into(Handle::new( [INFO] [stdout] 336 | branches, [INFO] [stdout] ... [INFO] [stdout] 340 | ), [INFO] [stdout] 341 ~ )); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Handle` [INFO] [stdout] --> src/trie/node.rs:346:33 [INFO] [stdout] | [INFO] [stdout] 346 | branch_handle = Handle::new( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 347 | | branches, [INFO] [stdout] 348 | | B::default_with_owner( [INFO] [stdout] 349 | | #[cfg(feature = "testing")] [INFO] [stdout] ... | [INFO] [stdout] 353 | | .into(); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 352 - ) [INFO] [stdout] 353 - .into(); [INFO] [stdout] 352 + ); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 346 ~ branch_handle = as Into<_>>::into(Handle::new( [INFO] [stdout] 347 | branches, [INFO] [stdout] ... [INFO] [stdout] 351 | ), [INFO] [stdout] 352 ~ )); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Handle>` [INFO] [stdout] --> src/trie/node.rs:407:46 [INFO] [stdout] | [INFO] [stdout] 407 | self.data = DataHandle::Leaf(leaf.into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 407 - self.data = DataHandle::Leaf(leaf.into()); [INFO] [stdout] 407 + self.data = DataHandle::Leaf(leaf); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 407 - self.data = DataHandle::Leaf(leaf.into()); [INFO] [stdout] 407 + self.data = DataHandle::Leaf(> as Into<_>>::into(leaf)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Option` [INFO] [stdout] --> src/util/opt_res_ext.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | self.0.invert(u).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 107 - self.0.invert(u).into() [INFO] [stdout] 107 + self.0.invert(u) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 107 - self.0.invert(u).into() [INFO] [stdout] 107 + as Into<_>>::into(self.0.invert(u)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Option` [INFO] [stdout] --> src/util/opt_res_ext.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | self.0.invert_with(f).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 110 - self.0.invert_with(f).into() [INFO] [stdout] 110 + self.0.invert_with(f) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 110 - self.0.invert_with(f).into() [INFO] [stdout] 110 + as Into<_>>::into(self.0.invert_with(f)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Option` [INFO] [stdout] --> src/util/opt_res_ext.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | |Self(o, PhantomData)| o.map(f).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 113 - |Self(o, PhantomData)| o.map(f).into() [INFO] [stdout] 113 + |Self(o, PhantomData)| o.map(f) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 113 - |Self(o, PhantomData)| o.map(f).into() [INFO] [stdout] 113 + |Self(o, PhantomData)| as Into<_>>::into(o.map(f)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `buffman_tree` (lib) due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ba550761adccf355030478eac9d3291355b83e7daa9b5b4e801c27fc26a825f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba550761adccf355030478eac9d3291355b83e7daa9b5b4e801c27fc26a825f", kill_on_drop: false }` [INFO] [stdout] 8ba550761adccf355030478eac9d3291355b83e7daa9b5b4e801c27fc26a825f