[INFO] cloning repository https://github.com/Mountlex/OnlineTSP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mountlex/OnlineTSP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMountlex%2FOnlineTSP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMountlex%2FOnlineTSP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be7bdd045bdb09130ca9577af0ea8619f0b648b1 [INFO] checking Mountlex/OnlineTSP against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMountlex%2FOnlineTSP" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Mountlex/OnlineTSP [INFO] finished tweaking git repo https://github.com/Mountlex/OnlineTSP [INFO] tweaked toml for git repo https://github.com/Mountlex/OnlineTSP written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mountlex/OnlineTSP 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/Mountlex/OnlineTSP 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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7937085dd7f8399c4a0bcc1c4b703c4d89f4e6b6799f7188b3cebe469cb06eb1 [INFO] running `Command { std: "docker" "start" "7937085dd7f8399c4a0bcc1c4b703c4d89f4e6b6799f7188b3cebe469cb06eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7937085dd7f8399c4a0bcc1c4b703c4d89f4e6b6799f7188b3cebe469cb06eb1", 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" "7937085dd7f8399c4a0bcc1c4b703c4d89f4e6b6799f7188b3cebe469cb06eb1" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7937085dd7f8399c4a0bcc1c4b703c4d89f4e6b6799f7188b3cebe469cb06eb1", 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" "7937085dd7f8399c4a0bcc1c4b703c4d89f4e6b6799f7188b3cebe469cb06eb1" "/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.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking coin_cbc_sys v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking compare v0.1.0 [INFO] [stderr] Checking coin_cbc v0.1.6 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking binary-heap-plus v0.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking fibheap v0.1.0 (https://github.com/Mountlex/fibheap.git?branch=main#1992fd81) [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Checking roxmltree v0.14.1 [INFO] [stderr] Checking good_lp v1.3.1 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking quote v1.0.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking lp-modeler v0.5.0 (https://github.com/jcavat/rust-lp-modeler#f491f460) [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Checking clap v3.0.14 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking graphlib v0.1.0 (/opt/rustwide/workdir/graphlib) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> graphlib/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use metric::*; [INFO] [stdout] | ^^^^^^^^^ the name `AdjacencyIter` in the type namespace is first re-exported here [INFO] [stdout] 33 | pub use metric_view::*; [INFO] [stdout] | -------------- but the name `AdjacencyIter` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> graphlib/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use metric::*; [INFO] [stdout] | ^^^^^^^^^ the name `NeighborIter` in the type namespace is first re-exported here [INFO] [stdout] 33 | pub use metric_view::*; [INFO] [stdout] | -------------- but the name `NeighborIter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> graphlib/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use metric::*; [INFO] [stdout] | ^^^^^^^^^ the name `AdjacencyIter` in the type namespace is first re-exported here [INFO] [stdout] 33 | pub use metric_view::*; [INFO] [stdout] | -------------- but the name `AdjacencyIter` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> graphlib/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use metric::*; [INFO] [stdout] | ^^^^^^^^^ the name `NeighborIter` in the type namespace is first re-exported here [INFO] [stdout] 33 | pub use metric_view::*; [INFO] [stdout] | -------------- but the name `NeighborIter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking oltsp v0.1.0 (/opt/rustwide/workdir/oltsp) [INFO] [stderr] error: could not compile `oltsp` (lib test) due to 1 previous error; 3 warnings emitted [INFO] [stdout] warning: struct `InstanceGraph` is never constructed [INFO] [stdout] --> oltsp/src/instance.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | struct InstanceGraph<'a, M> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `AdjacencyIter` is never constructed [INFO] [stdout] --> oltsp/src/instance.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct AdjacencyIter<'a, M> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> oltsp/src/instance.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl<'a, M> AdjacencyIter<'a, M> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 211 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceGraph` is never constructed [INFO] [stdout] --> oltsp/src/instance.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | struct InstanceGraph<'a, M> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdjacencyIter` is never constructed [INFO] [stdout] --> oltsp/src/instance.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct AdjacencyIter<'a, M> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> oltsp/src/instance.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl<'a, M> AdjacencyIter<'a, M> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 211 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> oltsp/src/instance.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | .map(|(x, t)| (x.into(), t.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] 19 - .map(|(x, t)| (x.into(), t.into())) [INFO] [stdout] 19 + .map(|(x, t)| (x.into(), t)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 19 - .map(|(x, t)| (x.into(), t.into())) [INFO] [stdout] 19 + .map(|(x, t)| (x.into(), >::into(t))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `usize` [INFO] [stdout] --> oltsp/src/instance.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | .map(|(x, t)| (x.into(), t.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] 19 - .map(|(x, t)| (x.into(), t.into())) [INFO] [stdout] 19 + .map(|(x, t)| (x.into(), t)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 19 - .map(|(x, t)| (x.into(), t.into())) [INFO] [stdout] 19 + .map(|(x, t)| (x.into(), >::into(t))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oltsp` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7937085dd7f8399c4a0bcc1c4b703c4d89f4e6b6799f7188b3cebe469cb06eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7937085dd7f8399c4a0bcc1c4b703c4d89f4e6b6799f7188b3cebe469cb06eb1", kill_on_drop: false }` [INFO] [stdout] 7937085dd7f8399c4a0bcc1c4b703c4d89f4e6b6799f7188b3cebe469cb06eb1