[INFO] fetching crate advocat 3.0.0... [INFO] testing advocat-3.0.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] extracting crate advocat 3.0.0 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate advocat 3.0.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded exitcode v1.1.2 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded configparser v3.0.0 [INFO] [stderr] Downloaded crc32fast v1.3.1 [INFO] [stderr] Downloaded libc v0.2.116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35509f3c9644cf38b254330fc21d62e53a4df4dbc45fa0cb55050b037c537dff [INFO] running `Command { std: "docker" "start" "-a" "35509f3c9644cf38b254330fc21d62e53a4df4dbc45fa0cb55050b037c537dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35509f3c9644cf38b254330fc21d62e53a4df4dbc45fa0cb55050b037c537dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35509f3c9644cf38b254330fc21d62e53a4df4dbc45fa0cb55050b037c537dff", kill_on_drop: false }` [INFO] [stdout] 35509f3c9644cf38b254330fc21d62e53a4df4dbc45fa0cb55050b037c537dff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4647b236e56368e9afda329caad8dd714495955775a5dc0a178c46d4d81b61c8 [INFO] running `Command { std: "docker" "start" "-a" "4647b236e56368e9afda329caad8dd714495955775a5dc0a178c46d4d81b61c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crc32fast v1.3.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 exitcode v1.1.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling configparser v3.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.52+curl-7.81.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling directories v4.0.1 [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 6.82s [INFO] running `Command { std: "docker" "inspect" "4647b236e56368e9afda329caad8dd714495955775a5dc0a178c46d4d81b61c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4647b236e56368e9afda329caad8dd714495955775a5dc0a178c46d4d81b61c8", kill_on_drop: false }` [INFO] [stdout] 4647b236e56368e9afda329caad8dd714495955775a5dc0a178c46d4d81b61c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a91f8153a3581c73069f4b1c6f07685bafc68e9a146d8c4848c0d7525b2d1df0 [INFO] running `Command { std: "docker" "start" "-a" "a91f8153a3581c73069f4b1c6f07685bafc68e9a146d8c4848c0d7525b2d1df0", 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 1.02s [INFO] running `Command { std: "docker" "inspect" "a91f8153a3581c73069f4b1c6f07685bafc68e9a146d8c4848c0d7525b2d1df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a91f8153a3581c73069f4b1c6f07685bafc68e9a146d8c4848c0d7525b2d1df0", kill_on_drop: false }` [INFO] [stdout] a91f8153a3581c73069f4b1c6f07685bafc68e9a146d8c4848c0d7525b2d1df0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 155b237b67ad8d64501e9b3dab5cbc94fee82a9441ed417044c64dd001219b72 [INFO] running `Command { std: "docker" "start" "-a" "155b237b67ad8d64501e9b3dab5cbc94fee82a9441ed417044c64dd001219b72", 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.07s [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 compilation::template::test::apply_normal_template_test ... ok [INFO] [stdout] test fetch::credentials::test::credentials_build_form_test ... ok [INFO] [stdout] test problem::test::has_main_non_existent ... ok [INFO] [stdout] test problem::test::has_main_non_file ... ok [INFO] [stdout] test problem::test::has_main_true ... ok [INFO] [stdout] test problem::test::verify_game_id ... ok [INFO] [stdout] test problem::test::verify_private_id ... ok [INFO] [stdout] test problem::test::has_main_false ... 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_problem_non_existing ... ok [INFO] [stdout] test test::show_veredict_test ... ok [INFO] [stdout] test problem::test::generate_problem_bad_main ... ok [INFO] [stdout] test problem::test::verify_public_id ... ok [INFO] [stdout] test problem::test::verify_invalid_id ... ok [INFO] [stdout] test problem::test::generate_public_problem ... ok [INFO] [stdout] test problem::test::generate_public_nomain_problem ... ok [INFO] [stdout] test problem::test::generate_private_nomain_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] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests advocat [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" "155b237b67ad8d64501e9b3dab5cbc94fee82a9441ed417044c64dd001219b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "155b237b67ad8d64501e9b3dab5cbc94fee82a9441ed417044c64dd001219b72", kill_on_drop: false }` [INFO] [stdout] 155b237b67ad8d64501e9b3dab5cbc94fee82a9441ed417044c64dd001219b72