[INFO] cloning repository https://github.com/mustafaskyer/rust-testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mustafaskyer/rust-testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmustafaskyer%2Frust-testing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmustafaskyer%2Frust-testing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c16bde3a6c0138bf7460ca341d4af574d2f4fcea [INFO] testing mustafaskyer/rust-testing against beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmustafaskyer%2Frust-testing" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mustafaskyer/rust-testing [INFO] finished tweaking git repo https://github.com/mustafaskyer/rust-testing [INFO] tweaked toml for git repo https://github.com/mustafaskyer/rust-testing written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mustafaskyer/rust-testing on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mustafaskyer/rust-testing 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" "+beta-2025-10-28" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5480ab910b80ec433e469e6139926c841827e8c590d7a9a8b388fe1c858c68b0 [INFO] running `Command { std: "docker" "start" "-a" "5480ab910b80ec433e469e6139926c841827e8c590d7a9a8b388fe1c858c68b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5480ab910b80ec433e469e6139926c841827e8c590d7a9a8b388fe1c858c68b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5480ab910b80ec433e469e6139926c841827e8c590d7a9a8b388fe1c858c68b0", kill_on_drop: false }` [INFO] [stdout] 5480ab910b80ec433e469e6139926c841827e8c590d7a9a8b388fe1c858c68b0 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7994c2e741d2400c62d1bc50ca4a56c821b490e1a3020fc0c8264bdf77e7555a [INFO] running `Command { std: "docker" "start" "-a" "7994c2e741d2400c62d1bc50ca4a56c821b490e1a3020fc0c8264bdf77e7555a", kill_on_drop: false }` [INFO] [stderr] Compiling tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/lib.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Circle { [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 items `new`, `new_circle`, `new_circle_panic`, and `contains` are never used [INFO] [stdout] --> src/lib.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | impl Circle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(radius: f32) -> Circle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn new_circle(radius: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_circle_panic(radius: f32) -> Circle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn contains(&self, other: &Circle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "7994c2e741d2400c62d1bc50ca4a56c821b490e1a3020fc0c8264bdf77e7555a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7994c2e741d2400c62d1bc50ca4a56c821b490e1a3020fc0c8264bdf77e7555a", kill_on_drop: false }` [INFO] [stdout] 7994c2e741d2400c62d1bc50ca4a56c821b490e1a3020fc0c8264bdf77e7555a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec107e9db40ff874eea9b648eb2de9c2e3d7039ab4546c0cf767d8c63325d4bb [INFO] running `Command { std: "docker" "start" "-a" "ec107e9db40ff874eea9b648eb2de9c2e3d7039ab4546c0cf767d8c63325d4bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/lib.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Circle { [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 items `new`, `new_circle`, `new_circle_panic`, and `contains` are never used [INFO] [stdout] --> src/lib.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | impl Circle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(radius: f32) -> Circle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn new_circle(radius: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_circle_panic(radius: f32) -> Circle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn contains(&self, other: &Circle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circle` [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let circle = Circle::new_circle(-1.0)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circle` [INFO] [stdout] --> src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let circle = Circle::new_circle_panic(-1.0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.16s [INFO] running `Command { std: "docker" "inspect" "ec107e9db40ff874eea9b648eb2de9c2e3d7039ab4546c0cf767d8c63325d4bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec107e9db40ff874eea9b648eb2de9c2e3d7039ab4546c0cf767d8c63325d4bb", kill_on_drop: false }` [INFO] [stdout] ec107e9db40ff874eea9b648eb2de9c2e3d7039ab4546c0cf767d8c63325d4bb [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 39cb3b8fb686fdde7517de34329f62e9c4a5ade9da5c4c6b47a4317a7db65e5e [INFO] running `Command { std: "docker" "start" "-a" "39cb3b8fb686fdde7517de34329f62e9c4a5ade9da5c4c6b47a4317a7db65e5e", kill_on_drop: false }` [INFO] [stderr] warning: struct `Circle` is never constructed [INFO] [stderr] --> src/lib.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Circle { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `new_circle`, `new_circle_panic`, and `contains` are never used [INFO] [stderr] --> src/lib.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 6 | impl Circle { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 7 | pub fn new(radius: f32) -> Circle { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | pub fn new_circle(radius: f32) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub fn new_circle_panic(radius: f32) -> Circle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn contains(&self, other: &Circle) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tests` (lib) generated 2 warnings [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/lib.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `circle` [INFO] [stderr] --> src/lib.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | let circle = Circle::new_circle(-1.0)?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `circle` [INFO] [stderr] --> src/lib.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | let circle = Circle::new_circle_panic(-1.0); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle` [INFO] [stderr] [INFO] [stderr] warning: `tests` (lib test) generated 3 warnings (run `cargo fix --lib -p tests --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tests-c4edfcbaeb5b6984) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test::larger_circle_should_contain_smaller ... ok [INFO] [stdout] test test::should_not_create_new ... FAILED [INFO] [stdout] test test::smaller_circle_should_not_contain_larger ... ok [INFO] [stdout] test test::should_not_create_and_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::should_not_create_new stdout ---- [INFO] [stdout] Error: "radius must be 1 or greater at least" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::should_not_create_new [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "39cb3b8fb686fdde7517de34329f62e9c4a5ade9da5c4c6b47a4317a7db65e5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39cb3b8fb686fdde7517de34329f62e9c4a5ade9da5c4c6b47a4317a7db65e5e", kill_on_drop: false }` [INFO] [stdout] 39cb3b8fb686fdde7517de34329f62e9c4a5ade9da5c4c6b47a4317a7db65e5e