[INFO] cloning repository https://github.com/Stubblef/test_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stubblef/test_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStubblef%2Ftest_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStubblef%2Ftest_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4a8610eb3ef3a4ef010262ebca761990ec98448c
[INFO] testing Stubblef/test_rust against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStubblef%2Ftest_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Stubblef/test_rust
[INFO] finished tweaking git repo https://github.com/Stubblef/test_rust
[INFO] tweaked toml for git repo https://github.com/Stubblef/test_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Stubblef/test_rust on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Stubblef/test_rust 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e
[INFO] running `Command { std: "docker" "start" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.12.14
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling indoc v2.0.4
[INFO] [stderr]    Compiling unindent v0.2.3
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling pyo3-build-config v0.20.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling pyo3-ffi v0.20.3
[INFO] [stderr]    Compiling pyo3 v0.20.3
[INFO] [stderr]    Compiling pyo3-macros-backend v0.20.3
[INFO] [stderr]    Compiling pyo3-macros v0.20.3
[INFO] [stderr]    Compiling test_pro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.89s
[INFO] running `Command { std: "docker" "inspect" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling test_pro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/fibonacci.rs (/opt/rustwide/target/debug/deps/fibonacci-a258138d76bf9bdf)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/test_pro-284ba242d36f882d)
[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] [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 fibonacci
[INFO] [stderr] error[E0659]: `fibonacci` is ambiguous
[INFO] [stderr]   --> src/fibonacci.rs:17:37
[INFO] [stderr]    |
[INFO] [stderr] 17 |     m.add_function(wrap_pyfunction!(fibonacci, m)?)?;  // ? 是一个错误处理运算符，用于处理可能出现的错误
[INFO] [stderr]    |                                     ^^^^^^^^^ ambiguous name
[INFO] [stderr]    |
[INFO] [stderr]    = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
[INFO] [stderr]    = note: `fibonacci` could refer to a crate passed with `--extern`
[INFO] [stderr]    = help: use `::fibonacci` to refer to this crate unambiguously
[INFO] [stderr] note: `fibonacci` could also refer to the module defined here
[INFO] [stderr]   --> src/fibonacci.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | # [pyfunction]  // 这个标记在 Rust 中通常与 PyO3 库一起使用，用于指示一个 Rust 函数是 Python 中可调用的
[INFO] [stderr]    | ^^^^^^^^^^^^^^
[INFO] [stderr]    = help: use `crate::fibonacci` to refer to this module unambiguously
[INFO] [stderr]    = note: this error originates in the attribute macro `pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 1 previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0659`.
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.98.0-beta.1-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type cdylib --crate-type rlib --color auto --crate-name fibonacci --test src/fibonacci.rs --test-run-directory /opt/rustwide/workdir --extern pyo3=/opt/rustwide/target/debug/deps/libpyo3-32685b41be8332f8.rlib --extern fibonacci=/opt/rustwide/target/debug/deps/libfibonacci.rlib -L dependency=/opt/rustwide/target/debug/deps -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --cap-lints=warn --error-format human` (exit status: 1)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --no-capture to the harness.
[INFO] running `Command { std: "docker" "inspect" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e", kill_on_drop: false }`
[INFO] [stdout] ef472377b3ed25041d9e7a55a5de23c113afd1d1c378627e4bbcbbff08ae1f3e
