[INFO] cloning repository https://github.com/kakserpom/name2gender-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kakserpom/name2gender-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakserpom%2Fname2gender-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakserpom%2Fname2gender-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b31955a62b9b33483ec6bf9462acf55a5c8336da [INFO] testing kakserpom/name2gender-rs against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakserpom%2Fname2gender-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kakserpom/name2gender-rs [INFO] finished tweaking git repo https://github.com/kakserpom/name2gender-rs [INFO] tweaked toml for git repo https://github.com/kakserpom/name2gender-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kakserpom/name2gender-rs on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kakserpom/name2gender-rs 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5140c3e4cc155164b4fd73bfc74edcced97c3b1d5cade3486633962ccade7a42 [INFO] running `Command { std: "docker" "start" "-a" "5140c3e4cc155164b4fd73bfc74edcced97c3b1d5cade3486633962ccade7a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5140c3e4cc155164b4fd73bfc74edcced97c3b1d5cade3486633962ccade7a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5140c3e4cc155164b4fd73bfc74edcced97c3b1d5cade3486633962ccade7a42", kill_on_drop: false }` [INFO] [stdout] 5140c3e4cc155164b4fd73bfc74edcced97c3b1d5cade3486633962ccade7a42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbcf2815568f066d27788f2cbcfc1ec7d04a750210a0e0e970dab6c28908eaac [INFO] running `Command { std: "docker" "start" "-a" "dbcf2815568f066d27788f2cbcfc1ec7d04a750210a0e0e970dab6c28908eaac", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling linfa v0.7.1 (https://github.com/rust-ml/linfa?branch=master#11ea07a3) [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling sprs v0.11.1 [INFO] [stderr] Compiling ndarray-stats v0.5.1 [INFO] [stderr] Compiling linfa-bayes v0.7.1 (https://github.com/rust-ml/linfa?branch=master#11ea07a3) [INFO] [stderr] Compiling name2gender v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.61s [INFO] running `Command { std: "docker" "inspect" "dbcf2815568f066d27788f2cbcfc1ec7d04a750210a0e0e970dab6c28908eaac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbcf2815568f066d27788f2cbcfc1ec7d04a750210a0e0e970dab6c28908eaac", kill_on_drop: false }` [INFO] [stdout] dbcf2815568f066d27788f2cbcfc1ec7d04a750210a0e0e970dab6c28908eaac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4719058958dfc5c3f23e3a9b028d812f8dc6a23b67fef1295393e969c070d517 [INFO] running `Command { std: "docker" "start" "-a" "4719058958dfc5c3f23e3a9b028d812f8dc6a23b67fef1295393e969c070d517", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ndarray-stats v0.5.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling linfa-bayes v0.7.1 (https://github.com/rust-ml/linfa?branch=master#11ea07a3) [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling name2gender v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling criterion v0.6.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.48s [INFO] running `Command { std: "docker" "inspect" "4719058958dfc5c3f23e3a9b028d812f8dc6a23b67fef1295393e969c070d517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4719058958dfc5c3f23e3a9b028d812f8dc6a23b67fef1295393e969c070d517", kill_on_drop: false }` [INFO] [stdout] 4719058958dfc5c3f23e3a9b028d812f8dc6a23b67fef1295393e969c070d517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b29f67926e38e14549ae47bf21b4cf23e1a3537d1cee83b762ce806b7288e7b2 [INFO] running `Command { std: "docker" "start" "-a" "b29f67926e38e14549ae47bf21b4cf23e1a3537d1cee83b762ce806b7288e7b2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/name2gender-f5d232a2ca29d786) [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 name2gender [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0599]: no method named `predict_with_proba` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 12 | let (label, p_male, p_female) = model.predict_with_proba("Samantha"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `predict_with_proba` exists on the type `Name2gender` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn predict_with_proba(&self, name: &str) -> anyhow::Result<(&'static str, f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Name2gender` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 12 | let (label, p_male, p_female) = model.expect("REASON").predict_with_proba("Samantha"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b29f67926e38e14549ae47bf21b4cf23e1a3537d1cee83b762ce806b7288e7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29f67926e38e14549ae47bf21b4cf23e1a3537d1cee83b762ce806b7288e7b2", kill_on_drop: false }` [INFO] [stdout] b29f67926e38e14549ae47bf21b4cf23e1a3537d1cee83b762ce806b7288e7b2