[INFO] fetching crate confmap 1.0.3...
[INFO] testing confmap-1.0.3 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate confmap 1.0.3 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate confmap 1.0.3
[INFO] finished tweaking crates.io crate confmap 1.0.3
[INFO] tweaked toml for crates.io crate confmap 1.0.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate confmap 1.0.3 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 12 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b993901866196460628f4651c8621b46852afe26ec56a6dc3fb64190d14f83cf
[INFO] running `Command { std: "docker" "start" "-a" "b993901866196460628f4651c8621b46852afe26ec56a6dc3fb64190d14f83cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b993901866196460628f4651c8621b46852afe26ec56a6dc3fb64190d14f83cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b993901866196460628f4651c8621b46852afe26ec56a6dc3fb64190d14f83cf", kill_on_drop: false }`
[INFO] [stdout] b993901866196460628f4651c8621b46852afe26ec56a6dc3fb64190d14f83cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 60669531f89c14cb193285bf99fbcc38c454dce4686580fb1d9f06689de90f4a
[INFO] running `Command { std: "docker" "start" "-a" "60669531f89c14cb193285bf99fbcc38c454dce4686580fb1d9f06689de90f4a", kill_on_drop: false }`
[INFO] [stderr]    Compiling confmap v1.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout] 120 |     if !unsafe { CONFIG_NAME.is_empty() } {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:125:29
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let file_path = CONFIG_PATH.to_owned() + &CONFIG_NAME;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let file_path = CONFIG_PATH.to_owned() + &CONFIG_NAME;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let file_path = CONFIG_PATH.to_owned() + &raw const CONFIG_NAME;
[INFO] [stdout]     |                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:134:36
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     if filename == CONFIG_NAME.to_string() {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:163:25
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &CONFIG_NAME };
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:163:51
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &CONFIG_NAME };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &raw const CONFIG_NAME };
[INFO] [stdout]     |                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s
[INFO] running `Command { std: "docker" "inspect" "60669531f89c14cb193285bf99fbcc38c454dce4686580fb1d9f06689de90f4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60669531f89c14cb193285bf99fbcc38c454dce4686580fb1d9f06689de90f4a", kill_on_drop: false }`
[INFO] [stdout] 60669531f89c14cb193285bf99fbcc38c454dce4686580fb1d9f06689de90f4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 755aae664d6b4bb46e464213feca3b7878a03e658f8ebb20d925679f19f05cf1
[INFO] running `Command { std: "docker" "start" "-a" "755aae664d6b4bb46e464213feca3b7878a03e658f8ebb20d925679f19f05cf1", kill_on_drop: false }`
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout] 120 |     if !unsafe { CONFIG_NAME.is_empty() } {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:125:29
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let file_path = CONFIG_PATH.to_owned() + &CONFIG_NAME;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let file_path = CONFIG_PATH.to_owned() + &CONFIG_NAME;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let file_path = CONFIG_PATH.to_owned() + &raw const CONFIG_NAME;
[INFO] [stdout]     |                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling confmap v1.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:134:36
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     if filename == CONFIG_NAME.to_string() {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:163:25
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &CONFIG_NAME };
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:163:51
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &CONFIG_NAME };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &raw const CONFIG_NAME };
[INFO] [stdout]     |                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout] 120 |     if !unsafe { CONFIG_NAME.is_empty() } {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:125:29
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let file_path = CONFIG_PATH.to_owned() + &CONFIG_NAME;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:125:54
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let file_path = CONFIG_PATH.to_owned() + &CONFIG_NAME;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let file_path = CONFIG_PATH.to_owned() + &raw const CONFIG_NAME;
[INFO] [stdout]     |                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:134:36
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     if filename == CONFIG_NAME.to_string() {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:163:25
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &CONFIG_NAME };
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:163:51
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &CONFIG_NAME };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &raw const CONFIG_NAME };
[INFO] [stdout]     |                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s
[INFO] running `Command { std: "docker" "inspect" "755aae664d6b4bb46e464213feca3b7878a03e658f8ebb20d925679f19f05cf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "755aae664d6b4bb46e464213feca3b7878a03e658f8ebb20d925679f19f05cf1", kill_on_drop: false }`
[INFO] [stdout] 755aae664d6b4bb46e464213feca3b7878a03e658f8ebb20d925679f19f05cf1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 68fa72edfa092c346dcf2c7f1ea9a28f91c3214db7c75dbb24f346100f9f2f83
[INFO] running `Command { std: "docker" "start" "-a" "68fa72edfa092c346dcf2c7f1ea9a28f91c3214db7c75dbb24f346100f9f2f83", kill_on_drop: false }`
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:120:18
[INFO] [stderr]     |
[INFO] [stderr] 120 |     if !unsafe { CONFIG_NAME.is_empty() } {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:125:29
[INFO] [stderr]     |
[INFO] [stderr] 125 |             let file_path = CONFIG_PATH.to_owned() + &CONFIG_NAME;
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:125:54
[INFO] [stderr]     |
[INFO] [stderr] 125 |             let file_path = CONFIG_PATH.to_owned() + &CONFIG_NAME;
[INFO] [stderr]     |                                                      ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 125 |             let file_path = CONFIG_PATH.to_owned() + &raw const CONFIG_NAME;
[INFO] [stderr]     |                                                       +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:134:36
[INFO] [stderr]     |
[INFO] [stderr] 134 |                     if filename == CONFIG_NAME.to_string() {
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:163:25
[INFO] [stderr]     |
[INFO] [stderr] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &CONFIG_NAME };
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:163:51
[INFO] [stderr]     |
[INFO] [stderr] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &CONFIG_NAME };
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 163 |     let path = unsafe { CONFIG_PATH.to_string() + &raw const CONFIG_NAME };
[INFO] [stderr]     |                                                    +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `confmap` (lib) generated 6 warnings
[INFO] [stderr] warning: `confmap` (lib test) generated 6 warnings (6 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/confmap-c2af7cc42bd2739d)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests confmap
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] test src/lib.rs - (line 23) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 11) ... FAILED
[INFO] [stdout] test src/lib.rs - get_i32 (line 261) ... FAILED
[INFO] [stdout] test src/lib.rs - get_i16 (line 278) ... FAILED
[INFO] [stdout] test src/lib.rs - add_config_path (line 95) ... ok
[INFO] [stdout] test src/lib.rs - (line 29) ... FAILED
[INFO] [stdout] test src/lib.rs - get_int8 (line 295) ... ok
[INFO] [stdout] test src/lib.rs - get_float64 (line 312) ... ok
[INFO] [stdout] test src/lib.rs - get_int64 (line 218) ... ok
[INFO] [stdout] test src/lib.rs - get_float32 (line 355) ... ok
[INFO] [stdout] test src/lib.rs - get_string (line 180) ... ok
[INFO] [stdout] test src/lib.rs - get_string_array (line 194) ... ok
[INFO] [stdout] test src/lib.rs - get_float64_array (line 329) ... ok
[INFO] [stdout] test src/lib.rs - get_bool (line 372) ... ok
[INFO] [stdout] test src/lib.rs - get_int64_array (line 235) ... ok
[INFO] [stdout] test src/lib.rs - get (line 386) ... ok
[INFO] [stdout] test src/lib.rs - get_map (line 419) ... ok
[INFO] [stdout] test src/lib.rs - set_config_name (line 85) ... ok
[INFO] [stdout] test src/lib.rs - get_array (line 395) ... ok
[INFO] [stdout] test src/lib.rs - read_config (line 116) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 23) stdout ----
[INFO] [stdout] error: expected item, found `[`
[INFO] [stdout]  --> src/lib.rs:24:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | [dependencies]
[INFO] [stdout]   | ^ expected item
[INFO] [stdout]   |
[INFO] [stdout]   = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 11) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `.`
[INFO] [stdout]  --> src/lib.rs:12:11
[INFO] [stdout]   |
[INFO] [stdout] 1 |     config.json
[INFO] [stdout]   |           ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - get_i32 (line 261) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_int32` in crate `confmap`
[INFO] [stdout]    --> src/lib.rs:263:10
[INFO] [stdout]     |
[INFO] [stdout] 5   | confmap::get_int32("testGetInt32");
[INFO] [stdout]     |          ^^^^^^^^^ help: a function with a similar name exists: `get_i32`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:264:1
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub fn get_i32(key: &str) -> Option<i32> {
[INFO] [stdout]     | ---------------------------------------- similarly named function `get_i32` defined here
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - get_i16 (line 278) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_int16` in crate `confmap`
[INFO] [stdout]    --> src/lib.rs:280:10
[INFO] [stdout]     |
[INFO] [stdout] 5   | confmap::get_int16("testGetInt16");
[INFO] [stdout]     |          ^^^^^^^^^ help: a function with a similar name exists: `get_i16`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:281:1
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub fn get_i16(key: &str) -> Option<i16> {
[INFO] [stdout]     | ---------------------------------------- similarly named function `get_i16` defined here
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 29) stdout ----
[INFO] [stdout] error[E0254]: the name `confmap` is defined multiple times
[INFO] [stdout]  --> src/lib.rs:31:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate r#confmap;
[INFO] [stdout]   | ----------------------- previous import of the extern crate `confmap` here
[INFO] [stdout] 4 | use confmap;
[INFO] [stdout]   |     ^^^^^^^ `confmap` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `confmap` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `path_str` in this scope
[INFO] [stdout]  --> src/lib.rs:35:30
[INFO] [stdout]   |
[INFO] [stdout] 8 |     confmap::add_config_path(path_str);
[INFO] [stdout]   |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0254, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0254`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 11)
[INFO] [stdout]     src/lib.rs - (line 23)
[INFO] [stdout]     src/lib.rs - (line 29)
[INFO] [stdout]     src/lib.rs - get_i16 (line 278)
[INFO] [stdout]     src/lib.rs - get_i32 (line 261)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 15 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "68fa72edfa092c346dcf2c7f1ea9a28f91c3214db7c75dbb24f346100f9f2f83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68fa72edfa092c346dcf2c7f1ea9a28f91c3214db7c75dbb24f346100f9f2f83", kill_on_drop: false }`
[INFO] [stdout] 68fa72edfa092c346dcf2c7f1ea9a28f91c3214db7c75dbb24f346100f9f2f83
