[INFO] cloning repository https://github.com/rodrigovalle/segment_tree
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rodrigovalle/segment_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodrigovalle%2Fsegment_tree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodrigovalle%2Fsegment_tree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 77e6e00aa319e8f7c3ec4d168209a3a3cd5bb07b
[INFO] building rodrigovalle/segment_tree against try#334963c956d25708feab489a3816ae63f639355d for pr-135216-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frodrigovalle%2Fsegment_tree" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rodrigovalle/segment_tree on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rodrigovalle/segment_tree
[INFO] finished tweaking git repo https://github.com/rodrigovalle/segment_tree
[INFO] tweaked toml for git repo https://github.com/rodrigovalle/segment_tree written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/rodrigovalle/segment_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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ae473da6b5706515d910954c388e283e66857cc50e1e12d31d6f6b2a5c58187
[INFO] running `Command { std: "docker" "start" "-a" "4ae473da6b5706515d910954c388e283e66857cc50e1e12d31d6f6b2a5c58187", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ae473da6b5706515d910954c388e283e66857cc50e1e12d31d6f6b2a5c58187", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ae473da6b5706515d910954c388e283e66857cc50e1e12d31d6f6b2a5c58187", kill_on_drop: false }`
[INFO] [stdout] 4ae473da6b5706515d910954c388e283e66857cc50e1e12d31d6f6b2a5c58187
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 944fdcb71410364e267313bf95a951658e6b6804f77a794c0c87d7949d7a5a4a
[INFO] running `Command { std: "docker" "start" "-a" "944fdcb71410364e267313bf95a951658e6b6804f77a794c0c87d7949d7a5a4a", kill_on_drop: false }`
[INFO] [stderr]    Compiling segment_tree_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated items `new`, `contains`, `intersects`, and `contains_point` are never used
[INFO] [stdout]   --> src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Interval {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 18 |     fn new(start: i32, end: i32) -> Interval {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn contains(&self, rhs: &Interval) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn intersects(&self, rhs: &Interval) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn contains_point(&self, pt: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UpdateParent` is never used
[INFO] [stdout]   --> src/lib.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum UpdateParent {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `interval` and `segments` are never read
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 51 |     interval: Interval,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 52 |     segments: Vec<Interval>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SegmentTree` is never constructed
[INFO] [stdout]   --> src/lib.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct SegmentTree {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `construct_tree`, `update_parents`, `insert`, and `query` are never used
[INFO] [stdout]    --> src/lib.rs:95:12
[INFO] [stdout]     |
[INFO] [stdout] 94  | impl SegmentTree {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 95  |     pub fn new(segments: Vec<Interval>) -> SegmentTree {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn construct_tree(sorted_points: Vec<i32>) -> Vec<Node> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn update_parents(tree: &mut Vec<Node>, child_i: usize, opt: UpdateParent) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     fn insert(segment: Interval, tree: &mut Vec<Node>, root: usize) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn query(&self, p: i32) -> Vec<Interval> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 | /                     write!(
[INFO] [stdout] 80 | |                         f,
[INFO] [stdout] 81 | |                         "({},{})",
[INFO] [stdout] 82 | |                         node.interval.start, node.interval.end
[INFO] [stdout] 83 | |                     );
[INFO] [stdout]    | |_____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             write!(f, "\n");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "944fdcb71410364e267313bf95a951658e6b6804f77a794c0c87d7949d7a5a4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "944fdcb71410364e267313bf95a951658e6b6804f77a794c0c87d7949d7a5a4a", kill_on_drop: false }`
[INFO] [stdout] 944fdcb71410364e267313bf95a951658e6b6804f77a794c0c87d7949d7a5a4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 22c0c57d8c6b6866e714abe6f737e275ad4d8c7f82e1318d0ffe51a696ce36e8
[INFO] running `Command { std: "docker" "start" "-a" "22c0c57d8c6b6866e714abe6f737e275ad4d8c7f82e1318d0ffe51a696ce36e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling segment_tree_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated items `new`, `contains`, `intersects`, and `contains_point` are never used
[INFO] [stdout]   --> src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Interval {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 18 |     fn new(start: i32, end: i32) -> Interval {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn contains(&self, rhs: &Interval) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn intersects(&self, rhs: &Interval) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn contains_point(&self, pt: i32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UpdateParent` is never used
[INFO] [stdout]   --> src/lib.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum UpdateParent {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `interval` and `segments` are never read
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 51 |     interval: Interval,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 52 |     segments: Vec<Interval>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SegmentTree` is never constructed
[INFO] [stdout]   --> src/lib.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct SegmentTree {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `construct_tree`, `update_parents`, `insert`, and `query` are never used
[INFO] [stdout]    --> src/lib.rs:95:12
[INFO] [stdout]     |
[INFO] [stdout] 94  | impl SegmentTree {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 95  |     pub fn new(segments: Vec<Interval>) -> SegmentTree {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn construct_tree(sorted_points: Vec<i32>) -> Vec<Node> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn update_parents(tree: &mut Vec<Node>, child_i: usize, opt: UpdateParent) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     fn insert(segment: Interval, tree: &mut Vec<Node>, root: usize) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn query(&self, p: i32) -> Vec<Interval> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 | /                     write!(
[INFO] [stdout] 80 | |                         f,
[INFO] [stdout] 81 | |                         "({},{})",
[INFO] [stdout] 82 | |                         node.interval.start, node.interval.end
[INFO] [stdout] 83 | |                     );
[INFO] [stdout]    | |_____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             write!(f, "\n");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 | /                     write!(
[INFO] [stdout] 80 | |                         f,
[INFO] [stdout] 81 | |                         "({},{})",
[INFO] [stdout] 82 | |                         node.interval.start, node.interval.end
[INFO] [stdout] 83 | |                     );
[INFO] [stdout]    | |_____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             write!(f, "\n");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "22c0c57d8c6b6866e714abe6f737e275ad4d8c7f82e1318d0ffe51a696ce36e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22c0c57d8c6b6866e714abe6f737e275ad4d8c7f82e1318d0ffe51a696ce36e8", kill_on_drop: false }`
[INFO] [stdout] 22c0c57d8c6b6866e714abe6f737e275ad4d8c7f82e1318d0ffe51a696ce36e8
