[INFO] fetching crate git_cmd 0.6.24... [INFO] testing git_cmd-0.6.24 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate git_cmd 0.6.24 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate git_cmd 0.6.24 [INFO] finished tweaking crates.io crate git_cmd 0.6.24 [INFO] tweaked toml for crates.io crate git_cmd 0.6.24 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate git_cmd 0.6.24 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate git_cmd 0.6.24 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ac2af1a7ad8db9d2430b4b2524d76fc3974036df4c6097ea970af50f0806d45 [INFO] running `Command { std: "docker" "start" "-a" "0ac2af1a7ad8db9d2430b4b2524d76fc3974036df4c6097ea970af50f0806d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ac2af1a7ad8db9d2430b4b2524d76fc3974036df4c6097ea970af50f0806d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac2af1a7ad8db9d2430b4b2524d76fc3974036df4c6097ea970af50f0806d45", kill_on_drop: false }` [INFO] [stdout] 0ac2af1a7ad8db9d2430b4b2524d76fc3974036df4c6097ea970af50f0806d45 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 627b4eb98e3150cc42e4d09b70ce4357a1af19d7b78ba943ae344dc857e67dc2 [INFO] running `Command { std: "docker" "start" "-a" "627b4eb98e3150cc42e4d09b70ce4357a1af19d7b78ba943ae344dc857e67dc2", kill_on_drop: false }` [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling fs-err v3.1.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling git_cmd v0.6.24 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.20s [INFO] running `Command { std: "docker" "inspect" "627b4eb98e3150cc42e4d09b70ce4357a1af19d7b78ba943ae344dc857e67dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "627b4eb98e3150cc42e4d09b70ce4357a1af19d7b78ba943ae344dc857e67dc2", kill_on_drop: false }` [INFO] [stdout] 627b4eb98e3150cc42e4d09b70ce4357a1af19d7b78ba943ae344dc857e67dc2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18e6949537d6f853b3d92c5ab740e84e920097293211aa7c03be5b8922765877 [INFO] running `Command { std: "docker" "start" "-a" "18e6949537d6f853b3d92c5ab740e84e920097293211aa7c03be5b8922765877", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling git_cmd v0.6.24 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Repo` in the current scope [INFO] [stdout] --> src/lib.rs:441:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Repo { [INFO] [stdout] | --------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 441 | let repo = Repo::init(&repository_dir); [INFO] [stdout] | ^^^^ function or associated item not found in `Repo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Repo`, consider using `Repo::new` which returns `Result` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(directory: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] --> src/lib.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | test_logs::init(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_logs`, use `cargo add test_logs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Repo` in the current scope [INFO] [stdout] --> src/lib.rs:451:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Repo { [INFO] [stdout] | --------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 451 | let repo = Repo::init(&repository_dir); [INFO] [stdout] | ^^^^ function or associated item not found in `Repo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Repo`, consider using `Repo::new` which returns `Result` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(directory: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] --> src/lib.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | test_logs::init(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_logs`, use `cargo add test_logs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Repo` in the current scope [INFO] [stdout] --> src/lib.rs:470:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Repo { [INFO] [stdout] | --------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 470 | let repo = Repo::init(&repository_dir); [INFO] [stdout] | ^^^^ function or associated item not found in `Repo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Repo`, consider using `Repo::new` which returns `Result` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(directory: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] --> src/lib.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | test_logs::init(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_logs`, use `cargo add test_logs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Repo` in the current scope [INFO] [stdout] --> src/lib.rs:490:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Repo { [INFO] [stdout] | --------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 490 | let repo = Repo::init(&repository_dir); [INFO] [stdout] | ^^^^ function or associated item not found in `Repo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Repo`, consider using `Repo::new` which returns `Result` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(directory: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | test_logs::init(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_logs`, use `cargo add test_logs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Repo` in the current scope [INFO] [stdout] --> src/lib.rs:498:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Repo { [INFO] [stdout] | --------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 498 | let repo = Repo::init(&repository_dir); [INFO] [stdout] | ^^^^ function or associated item not found in `Repo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Repo`, consider using `Repo::new` which returns `Result` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(directory: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] --> src/lib.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | test_logs::init(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_logs`, use `cargo add test_logs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Repo` in the current scope [INFO] [stdout] --> src/lib.rs:521:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Repo { [INFO] [stdout] | --------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 521 | let repo = Repo::init(&repository_dir); [INFO] [stdout] | ^^^^ function or associated item not found in `Repo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Repo`, consider using `Repo::new` which returns `Result` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(directory: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] --> src/lib.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | test_logs::init(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_logs`, use `cargo add test_logs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Repo` in the current scope [INFO] [stdout] --> src/lib.rs:536:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Repo { [INFO] [stdout] | --------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 536 | let repo = Repo::init(&repository_dir); [INFO] [stdout] | ^^^^ function or associated item not found in `Repo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Repo`, consider using `Repo::new` which returns `Result` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(directory: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] --> src/lib.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | test_logs::init(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_logs`, use `cargo add test_logs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Repo` in the current scope [INFO] [stdout] --> src/lib.rs:550:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Repo { [INFO] [stdout] | --------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 550 | let repo = Repo::init(&repository_dir); [INFO] [stdout] | ^^^^ function or associated item not found in `Repo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Repo`, consider using `Repo::new` which returns `Result` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(directory: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] --> src/lib.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | test_logs::init(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `test_logs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_logs`, use `cargo add test_logs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init` found for struct `Repo` in the current scope [INFO] [stdout] --> src/lib.rs:566:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Repo { [INFO] [stdout] | --------------- function or associated item `init` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 566 | let repo = Repo::init(&repository_dir); [INFO] [stdout] | ^^^^ function or associated item not found in `Repo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Repo`, consider using `Repo::new` which returns `Result` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(directory: impl AsRef) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git_cmd` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "18e6949537d6f853b3d92c5ab740e84e920097293211aa7c03be5b8922765877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18e6949537d6f853b3d92c5ab740e84e920097293211aa7c03be5b8922765877", kill_on_drop: false }` [INFO] [stdout] 18e6949537d6f853b3d92c5ab740e84e920097293211aa7c03be5b8922765877