[INFO] fetching crate advocat 3.0.0... [INFO] testing advocat-3.0.0 against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] extracting crate advocat 3.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate advocat 3.0.0 [INFO] finished tweaking crates.io crate advocat 3.0.0 [INFO] tweaked toml for crates.io crate advocat 3.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate advocat 3.0.0 on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate advocat 3.0.0 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f0b11236214e71fb14f07d63e3ddb3286335d5af6f5594578c629ad4a1fcd39 [INFO] running `Command { std: "docker" "start" "-a" "8f0b11236214e71fb14f07d63e3ddb3286335d5af6f5594578c629ad4a1fcd39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f0b11236214e71fb14f07d63e3ddb3286335d5af6f5594578c629ad4a1fcd39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f0b11236214e71fb14f07d63e3ddb3286335d5af6f5594578c629ad4a1fcd39", kill_on_drop: false }` [INFO] [stdout] 8f0b11236214e71fb14f07d63e3ddb3286335d5af6f5594578c629ad4a1fcd39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d3ff3da52f7b9679391acd835700df6921e1409fe12e817c405b3b56cc09282 [INFO] running `Command { std: "docker" "start" "-a" "8d3ff3da52f7b9679391acd835700df6921e1409fe12e817c405b3b56cc09282", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling curl v0.4.42 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling configparser v3.0.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling curl-sys v0.4.52+curl-7.81.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling advocat v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/problem.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Problem { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.84s [INFO] running `Command { std: "docker" "inspect" "8d3ff3da52f7b9679391acd835700df6921e1409fe12e817c405b3b56cc09282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3ff3da52f7b9679391acd835700df6921e1409fe12e817c405b3b56cc09282", kill_on_drop: false }` [INFO] [stdout] 8d3ff3da52f7b9679391acd835700df6921e1409fe12e817c405b3b56cc09282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41fceecbd09edab1fc86b0bf54a901ffeab554dd6ddc3ea7cd69addf68e61fc2 [INFO] running `Command { std: "docker" "start" "-a" "41fceecbd09edab1fc86b0bf54a901ffeab554dd6ddc3ea7cd69addf68e61fc2", kill_on_drop: false }` [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/problem.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Problem { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advocat v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SelfCleaningTmp` is never constructed [INFO] [stdout] --> src/test_utils.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SelfCleaningTmp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/test_utils.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SelfCleaningTmp { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(module: &str, test_name: &str) -> SelfCleaningTmp { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/test_utils.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if CONFIG.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/test_utils.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | CONFIG.clone().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "41fceecbd09edab1fc86b0bf54a901ffeab554dd6ddc3ea7cd69addf68e61fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41fceecbd09edab1fc86b0bf54a901ffeab554dd6ddc3ea7cd69addf68e61fc2", kill_on_drop: false }` [INFO] [stdout] 41fceecbd09edab1fc86b0bf54a901ffeab554dd6ddc3ea7cd69addf68e61fc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 34c67bf7034ee927bb137f6bdfe49918eec4a433ed5b0e7c82e6e1c770d06067 [INFO] running `Command { std: "docker" "start" "-a" "34c67bf7034ee927bb137f6bdfe49918eec4a433ed5b0e7c82e6e1c770d06067", kill_on_drop: false }` [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/problem.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Problem { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 11 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `SelfCleaningTmp` is never constructed [INFO] [stderr] --> src/test_utils.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct SelfCleaningTmp { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/test_utils.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl SelfCleaningTmp { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 13 | pub fn new(module: &str, test_name: &str) -> SelfCleaningTmp { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/test_utils.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | if CONFIG.is_none() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/test_utils.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | CONFIG.clone().unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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: `advocat` (lib) generated 1 warning [INFO] [stderr] warning: `advocat` (lib test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/advocat-e64d4c46730a5448) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test compilation::template::test::apply_nomain_template_test ... ok [INFO] [stdout] test fetch::credentials::test::credentials_build_form_test ... ok [INFO] [stdout] test compilation::template::test::apply_normal_template_test ... ok [INFO] [stdout] test problem::test::has_main_non_file ... ok [INFO] [stdout] test problem::test::has_main_non_existent ... ok [INFO] [stdout] test problem::test::has_main_false ... ok [INFO] [stdout] test test::show_veredict_test ... ok [INFO] [stdout] test problem::test::verify_game_id ... ok [INFO] [stdout] test problem::test::has_main_true ... ok [INFO] [stdout] test problem::test::verify_public_id ... ok [INFO] [stdout] test problem::test::verify_private_id ... ok [INFO] [stdout] test problem::test::verify_invalid_id ... ok [INFO] [stdout] test problem::test::generate_problem_non_existing ... ok [INFO] [stdout] test problem::test::generate_problem_bad_format ... ok [INFO] [stdout] test problem::test::generate_problem_bad_id ... ok [INFO] [stdout] test problem::test::generate_problem_non_directory ... ok [INFO] [stdout] test problem::test::generate_private_nomain_problem ... ok [INFO] [stdout] test problem::test::generate_public_nomain_problem ... ok [INFO] [stdout] test problem::test::generate_problem_bad_main ... ok [INFO] [stdout] test problem::test::generate_public_problem ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advocat-d73bd00e2200ce67) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests advocat [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "34c67bf7034ee927bb137f6bdfe49918eec4a433ed5b0e7c82e6e1c770d06067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34c67bf7034ee927bb137f6bdfe49918eec4a433ed5b0e7c82e6e1c770d06067", kill_on_drop: false }` [INFO] [stdout] 34c67bf7034ee927bb137f6bdfe49918eec4a433ed5b0e7c82e6e1c770d06067