[INFO] cloning repository https://github.com/sitegui/mhorloge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sitegui/mhorloge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitegui%2Fmhorloge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitegui%2Fmhorloge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6f54f5a94f4934ec4c0b0e32b6d003729daf4a3 [INFO] testing sitegui/mhorloge against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitegui%2Fmhorloge" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sitegui/mhorloge on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sitegui/mhorloge [INFO] finished tweaking git repo https://github.com/sitegui/mhorloge [INFO] tweaked toml for git repo https://github.com/sitegui/mhorloge written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/sitegui/mhorloge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] [stderr] Downloaded regex-automata v0.1.10 [INFO] [stderr] Downloaded bstr v0.2.16 [INFO] [stderr] Downloaded csv-core v0.1.10 [INFO] [stderr] Downloaded csv v1.1.6 [INFO] [stderr] Downloaded structopt-derive v0.4.16 [INFO] [stderr] Downloaded structopt v0.3.23 [INFO] [stderr] Downloaded fixedbitset v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ab60ca1e752ebc686e8fdd90a82edc9fef67086adba3e85e0b11d5c364c257f [INFO] running `Command { std: "docker" "start" "-a" "3ab60ca1e752ebc686e8fdd90a82edc9fef67086adba3e85e0b11d5c364c257f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ab60ca1e752ebc686e8fdd90a82edc9fef67086adba3e85e0b11d5c364c257f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab60ca1e752ebc686e8fdd90a82edc9fef67086adba3e85e0b11d5c364c257f", kill_on_drop: false }` [INFO] [stdout] 3ab60ca1e752ebc686e8fdd90a82edc9fef67086adba3e85e0b11d5c364c257f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e93edfb0172aef0fe70c04a6270a260477f2b5133e25253a78bfc928ab4edb18 [INFO] running `Command { std: "docker" "start" "-a" "e93edfb0172aef0fe70c04a6270a260477f2b5133e25253a78bfc928ab4edb18", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling ordered-float v2.8.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling mhorloge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tokens_before` [INFO] [stdout] --> src/build_grid.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let tokens_before = &upstream_by_token[&node_id]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens_before` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `remaining` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/build_grid.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 56 | let word = remaining.graph()[node_id]; [INFO] [stdout] | ----------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 97 | remaining.remove_token(best.node_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | output: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_file` [INFO] [stdout] --> src/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_file>(path: P) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_json` [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_json>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `language` [INFO] [stdout] --> src/models/phrase.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | language: Language, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Phrase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/phrase.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/models/phrase.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | time: Time, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Phrase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/phrase.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phrases` [INFO] [stdout] --> src/tokenize/token_graph.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | phrases: &'a [Phrase], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenGraph` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenize/token_graph.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.29s [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e93edfb0172aef0fe70c04a6270a260477f2b5133e25253a78bfc928ab4edb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93edfb0172aef0fe70c04a6270a260477f2b5133e25253a78bfc928ab4edb18", kill_on_drop: false }` [INFO] [stdout] e93edfb0172aef0fe70c04a6270a260477f2b5133e25253a78bfc928ab4edb18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac1c0c09db2cf20a2f0775a43ea84f68504003bf4b33ee54c6672407d52ec64b [INFO] running `Command { std: "docker" "start" "-a" "ac1c0c09db2cf20a2f0775a43ea84f68504003bf4b33ee54c6672407d52ec64b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling mhorloge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tokens_before` [INFO] [stdout] --> src/build_grid.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let tokens_before = &upstream_by_token[&node_id]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens_before` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `remaining` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/build_grid.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 56 | let word = remaining.graph()[node_id]; [INFO] [stdout] | ----------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 97 | remaining.remove_token(best.node_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | output: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_file` [INFO] [stdout] --> src/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_file>(path: P) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_json` [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_json>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `language` [INFO] [stdout] --> src/models/phrase.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | language: Language, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Phrase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/phrase.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/models/phrase.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | time: Time, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Phrase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/phrase.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phrases` [INFO] [stdout] --> src/tokenize/token_graph.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | phrases: &'a [Phrase], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenGraph` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenize/token_graph.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.74s [INFO] running `Command { std: "docker" "inspect" "ac1c0c09db2cf20a2f0775a43ea84f68504003bf4b33ee54c6672407d52ec64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac1c0c09db2cf20a2f0775a43ea84f68504003bf4b33ee54c6672407d52ec64b", kill_on_drop: false }` [INFO] [stdout] ac1c0c09db2cf20a2f0775a43ea84f68504003bf4b33ee54c6672407d52ec64b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21d18e851cfcd54c76371c895be2f071ab67579906521a6c7f759f84e169214f [INFO] running `Command { std: "docker" "start" "-a" "21d18e851cfcd54c76371c895be2f071ab67579906521a6c7f759f84e169214f", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `tokens_before` [INFO] [stderr] --> src/build_grid.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | let tokens_before = &upstream_by_token[&node_id]; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens_before` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `remaining` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/build_grid.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 56 | let word = remaining.graph()[node_id]; [INFO] [stderr] | ----------------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 97 | remaining.remove_token(best.node_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^------------^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `output` [INFO] [stderr] --> src/main.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | output: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_file` [INFO] [stderr] --> src/utils.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_file>(path: P) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_json` [INFO] [stderr] --> src/utils.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn read_json>(path: P) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `language` [INFO] [stderr] --> src/models/phrase.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | language: Language, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Phrase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/phrase.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `time` [INFO] [stderr] --> src/models/phrase.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | time: Time, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Phrase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/phrase.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `phrases` [INFO] [stderr] --> src/tokenize/token_graph.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | phrases: &'a [Phrase], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenGraph` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenize/token_graph.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `mhorloge` (bin "mhorloge" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mhorloge-20b987610a042757) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test models::word_grid::tests::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21d18e851cfcd54c76371c895be2f071ab67579906521a6c7f759f84e169214f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21d18e851cfcd54c76371c895be2f071ab67579906521a6c7f759f84e169214f", kill_on_drop: false }` [INFO] [stdout] 21d18e851cfcd54c76371c895be2f071ab67579906521a6c7f759f84e169214f