[INFO] cloning repository https://github.com/ALeitert/RMQ.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ALeitert/RMQ.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FALeitert%2FRMQ.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FALeitert%2FRMQ.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae1c1add4269d88d691cc9341e5f3c47e6f2258e [INFO] building ALeitert/RMQ.rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FALeitert%2FRMQ.rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ALeitert/RMQ.rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ALeitert/RMQ.rs [INFO] finished tweaking git repo https://github.com/ALeitert/RMQ.rs [INFO] tweaked toml for git repo https://github.com/ALeitert/RMQ.rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ALeitert/RMQ.rs 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.2.8 [INFO] [stderr] Downloaded libc v0.2.139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cca9ff01379572e62510b1229cb4643ee4703873cc945acbf956c9a87e34993f [INFO] running `Command { std: "docker" "start" "-a" "cca9ff01379572e62510b1229cb4643ee4703873cc945acbf956c9a87e34993f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cca9ff01379572e62510b1229cb4643ee4703873cc945acbf956c9a87e34993f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca9ff01379572e62510b1229cb4643ee4703873cc945acbf956c9a87e34993f", kill_on_drop: false }` [INFO] [stdout] cca9ff01379572e62510b1229cb4643ee4703873cc945acbf956c9a87e34993f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78a75480977c22494363fe3b9d8621b4c22a6cb896c9c5e97ebeeed8f07946a1 [INFO] running `Command { std: "docker" "start" "-a" "78a75480977c22494363fe3b9d8621b4c22a6cb896c9c5e97ebeeed8f07946a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rmq_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tree_size` [INFO] [stdout] --> src/rmq_test.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_ancestor_runtime(tree_size: usize, queries: usize, seed: u64) -> TimePair [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queries` [INFO] [stdout] --> src/rmq_test.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_ancestor_runtime(tree_size: usize, queries: usize, seed: u64) -> TimePair [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_queries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/rmq_test.rs:114:66 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_ancestor_runtime(tree_size: usize, queries: usize, seed: u64) -> TimePair [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_c` is never used [INFO] [stdout] --> src/log.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub const fn log_c(n: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ancestor_runtime` is never used [INFO] [stdout] --> src/rmq_test.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_ancestor_runtime(tree_size: usize, queries: usize, seed: u64) -> TimePair [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_tree` is never used [INFO] [stdout] --> src/rmq_test.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn generate_tree(size: usize, rng: &mut R) -> Tree { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeId` is never used [INFO] [stdout] --> src/tree.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type NodeId = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NULL_NODE` is never used [INFO] [stdout] --> src/tree.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const NULL_NODE: NodeId = NodeId::MAX; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EulerTour` is never constructed [INFO] [stdout] --> src/tree.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EulerTour { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_parents`, `from_parents_slice`, `parent`, `children`, and `euler_tour` are never used [INFO] [stdout] --> src/tree.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 36 | /// Creates an empty tree. [INFO] [stdout] 37 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn from_parents(parents: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn from_parents_slice(parents: &[NodeId]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn parent(&self, u_id: NodeId) -> NodeId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn children(&self, u_id: NodeId) -> &[NodeId] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn euler_tour(&self) -> EulerTour { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lca` is never constructed [INFO] [stdout] --> src/tree.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Lca<'a, T: Rmq> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_data`, and `query` are never used [INFO] [stdout] --> src/tree.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl<'a, T: Rmq> Lca<'a, T> { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 134 | pub fn new(tree: &'a Tree) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn process_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn query(&self, u_id: usize, v_id: usize) -> NodeId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "78a75480977c22494363fe3b9d8621b4c22a6cb896c9c5e97ebeeed8f07946a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78a75480977c22494363fe3b9d8621b4c22a6cb896c9c5e97ebeeed8f07946a1", kill_on_drop: false }` [INFO] [stdout] 78a75480977c22494363fe3b9d8621b4c22a6cb896c9c5e97ebeeed8f07946a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72504f3ede234043f423f77b7ab8e880612d684f8559ea7dfec3ac1984a522ee [INFO] running `Command { std: "docker" "start" "-a" "72504f3ede234043f423f77b7ab8e880612d684f8559ea7dfec3ac1984a522ee", kill_on_drop: false }` [INFO] [stderr] Compiling rmq_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tree_size` [INFO] [stdout] --> src/rmq_test.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_ancestor_runtime(tree_size: usize, queries: usize, seed: u64) -> TimePair [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queries` [INFO] [stdout] --> src/rmq_test.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_ancestor_runtime(tree_size: usize, queries: usize, seed: u64) -> TimePair [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_queries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/rmq_test.rs:114:66 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_ancestor_runtime(tree_size: usize, queries: usize, seed: u64) -> TimePair [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_c` is never used [INFO] [stdout] --> src/log.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub const fn log_c(n: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ancestor_runtime` is never used [INFO] [stdout] --> src/rmq_test.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_ancestor_runtime(tree_size: usize, queries: usize, seed: u64) -> TimePair [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_tree` is never used [INFO] [stdout] --> src/rmq_test.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn generate_tree(size: usize, rng: &mut R) -> Tree { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeId` is never used [INFO] [stdout] --> src/tree.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type NodeId = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NULL_NODE` is never used [INFO] [stdout] --> src/tree.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const NULL_NODE: NodeId = NodeId::MAX; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EulerTour` is never constructed [INFO] [stdout] --> src/tree.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EulerTour { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_parents`, `from_parents_slice`, `parent`, `children`, and `euler_tour` are never used [INFO] [stdout] --> src/tree.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 36 | /// Creates an empty tree. [INFO] [stdout] 37 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn from_parents(parents: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn from_parents_slice(parents: &[NodeId]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn parent(&self, u_id: NodeId) -> NodeId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn children(&self, u_id: NodeId) -> &[NodeId] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn euler_tour(&self) -> EulerTour { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lca` is never constructed [INFO] [stdout] --> src/tree.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Lca<'a, T: Rmq> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_data`, and `query` are never used [INFO] [stdout] --> src/tree.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl<'a, T: Rmq> Lca<'a, T> { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 134 | pub fn new(tree: &'a Tree) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn process_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn query(&self, u_id: usize, v_id: usize) -> NodeId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "72504f3ede234043f423f77b7ab8e880612d684f8559ea7dfec3ac1984a522ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72504f3ede234043f423f77b7ab8e880612d684f8559ea7dfec3ac1984a522ee", kill_on_drop: false }` [INFO] [stdout] 72504f3ede234043f423f77b7ab8e880612d684f8559ea7dfec3ac1984a522ee