[INFO] cloning repository https://github.com/wh317706/rust_cp_snippets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wh317706/rust_cp_snippets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwh317706%2Frust_cp_snippets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwh317706%2Frust_cp_snippets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a98570c9cba5b9f33dfdc88afdfe1ec2e9abd54 [INFO] testing wh317706/rust_cp_snippets against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwh317706%2Frust_cp_snippets" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wh317706/rust_cp_snippets on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wh317706/rust_cp_snippets [INFO] finished tweaking git repo https://github.com/wh317706/rust_cp_snippets [INFO] tweaked toml for git repo https://github.com/wh317706/rust_cp_snippets written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/wh317706/rust_cp_snippets already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d84098a666f73865ba554d1a6e800b2c44618054add3c31ac50fba07d3f8ffd [INFO] running `Command { std: "docker" "start" "-a" "3d84098a666f73865ba554d1a6e800b2c44618054add3c31ac50fba07d3f8ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d84098a666f73865ba554d1a6e800b2c44618054add3c31ac50fba07d3f8ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d84098a666f73865ba554d1a6e800b2c44618054add3c31ac50fba07d3f8ffd", kill_on_drop: false }` [INFO] [stdout] 3d84098a666f73865ba554d1a6e800b2c44618054add3c31ac50fba07d3f8ffd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce938f405d6d710a385e26879609248701f07ac1a413bfc011e9dec5795b94b3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce938f405d6d710a385e26879609248701f07ac1a413bfc011e9dec5795b94b3", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-snippet v0.6.1 [INFO] [stderr] Compiling rust_cp_snippets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | /// let global = get_rc_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | /// global.borrow_mut().push(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | /// let x = global.borrow()[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/template.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut next = move || -> String{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] ... [INFO] [stdout] 163 | input!{} [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/template.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut ans: u64; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut next = move || -> String{ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 163 | input!{} [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/util.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.79s [INFO] running `Command { std: "docker" "inspect" "ce938f405d6d710a385e26879609248701f07ac1a413bfc011e9dec5795b94b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce938f405d6d710a385e26879609248701f07ac1a413bfc011e9dec5795b94b3", kill_on_drop: false }` [INFO] [stdout] ce938f405d6d710a385e26879609248701f07ac1a413bfc011e9dec5795b94b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65293ee720ca0b65860c074c939b8287df99beca5d44d2e574de2efa34c5b7f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "65293ee720ca0b65860c074c939b8287df99beca5d44d2e574de2efa34c5b7f7", kill_on_drop: false }` [INFO] [stderr] Compiling rust_cp_snippets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | /// let global = get_rc_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | /// global.borrow_mut().push(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | /// let x = global.borrow()[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/template.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut next = move || -> String{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] ... [INFO] [stdout] 163 | input!{} [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/template.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut ans: u64; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut next = move || -> String{ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 163 | input!{} [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/util.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | /// let global = get_rc_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | /// global.borrow_mut().push(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/util.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | /// let x = global.borrow()[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/template.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut next = move || -> String{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] ... [INFO] [stdout] 163 | input!{} [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ans` [INFO] [stdout] --> src/template.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut ans: u64; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut next = move || -> String{ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 163 | input!{} [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/util.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.95s [INFO] running `Command { std: "docker" "inspect" "65293ee720ca0b65860c074c939b8287df99beca5d44d2e574de2efa34c5b7f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65293ee720ca0b65860c074c939b8287df99beca5d44d2e574de2efa34c5b7f7", kill_on_drop: false }` [INFO] [stdout] 65293ee720ca0b65860c074c939b8287df99beca5d44d2e574de2efa34c5b7f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3099d52564aa06cd8fb566a13a0bc953911bc221640fff39cc7307e45120709f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3099d52564aa06cd8fb566a13a0bc953911bc221640fff39cc7307e45120709f", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/util.rs:141:1 [INFO] [stderr] | [INFO] [stderr] 141 | /// let global = get_rc_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/util.rs:142:1 [INFO] [stderr] | [INFO] [stderr] 142 | /// global.borrow_mut().push(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/util.rs:143:1 [INFO] [stderr] | [INFO] [stderr] 143 | /// let x = global.borrow()[0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next` [INFO] [stderr] --> src/template.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut next = move || -> String{ [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stderr] ... [INFO] [stderr] 163 | input!{} [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ans` [INFO] [stderr] --> src/template.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | let mut ans: u64; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/template.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut next = move || -> String{ [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] ... [INFO] [stderr] 163 | input!{} [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/util.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/util.rs:141:1 [INFO] [stderr] | [INFO] [stderr] 141 | /// let global = get_rc_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/util.rs:142:1 [INFO] [stderr] | [INFO] [stderr] 142 | /// global.borrow_mut().push(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/util.rs:143:1 [INFO] [stderr] | [INFO] [stderr] 143 | /// let x = global.borrow()[0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused variable: `next` [INFO] [stderr] --> src/template.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut next = move || -> String{ [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stderr] ... [INFO] [stderr] 163 | input!{} [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ans` [INFO] [stderr] --> src/template.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | let mut ans: u64; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ans` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/template.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut next = move || -> String{ [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] ... [INFO] [stderr] 163 | input!{} [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/util.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_cp_snippets-a09c841426fd3945 [INFO] [stdout] running 17 tests [INFO] [stdout] test binary_search::test_binary_search ... ok [INFO] [stdout] test bellman_ford::test_bellman_ford ... ok [INFO] [stdout] test dijkstra::test_dijkstra ... ok [INFO] [stdout] test modulo::test_lcm ... ok [INFO] [stdout] test modulo::test_divisor ... ok [INFO] [stdout] test modulo::test_mod_pow ... ok [INFO] [stdout] test modulo::test_fact_inv_table ... ok [INFO] [stdout] test modulo::test_prime ... ok [INFO] [stdout] test union_find::test_union_find ... ok [INFO] [stdout] test util::test_adjacent4 ... ok [INFO] [stdout] test modulo::test_prime_factor ... ok [INFO] [stdout] test segment_tree::test_segment_tree ... ok [INFO] [stdout] test util::test_matrix_swap ... ok [INFO] [stdout] test util::test_global_variable ... ok [INFO] [stdout] test util::test_rev ... ok [INFO] [stdout] test util::test_total ... ok [INFO] [stderr] Doc-tests rust_cp_snippets [INFO] [stdout] test modulo::test_mod_comb_repetition ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3099d52564aa06cd8fb566a13a0bc953911bc221640fff39cc7307e45120709f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3099d52564aa06cd8fb566a13a0bc953911bc221640fff39cc7307e45120709f", kill_on_drop: false }` [INFO] [stdout] 3099d52564aa06cd8fb566a13a0bc953911bc221640fff39cc7307e45120709f