[INFO] cloning repository https://github.com/hamachshev/git-clone2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamachshev/git-clone2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamachshev%2Fgit-clone2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamachshev%2Fgit-clone2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da0c9fc1cd25784ac7d785cbe15508aa90445613 [INFO] testing hamachshev/git-clone2 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamachshev%2Fgit-clone2" "/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/hamachshev/git-clone2 [INFO] finished tweaking git repo https://github.com/hamachshev/git-clone2 [INFO] tweaked toml for git repo https://github.com/hamachshev/git-clone2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hamachshev/git-clone2 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/hamachshev/git-clone2 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded clap_builder v4.5.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3d6a24e6b027fd7d13eb49171b64f52f1a10f183e08c37373e40ccdfac4102da [INFO] running `Command { std: "docker" "start" "-a" "3d6a24e6b027fd7d13eb49171b64f52f1a10f183e08c37373e40ccdfac4102da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d6a24e6b027fd7d13eb49171b64f52f1a10f183e08c37373e40ccdfac4102da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d6a24e6b027fd7d13eb49171b64f52f1a10f183e08c37373e40ccdfac4102da", kill_on_drop: false }` [INFO] [stdout] 3d6a24e6b027fd7d13eb49171b64f52f1a10f183e08c37373e40ccdfac4102da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8ba75bcb46412aad19d603bde8897f87f3f233e50578fad9b880ae8b1309d7be [INFO] running `Command { std: "docker" "start" "-a" "8ba75bcb46412aad19d603bde8897f87f3f233e50578fad9b880ae8b1309d7be", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling git-clone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/objects/index.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::macos::fs::MetadataExt; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/mod.rs:157:9 [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/mod.rs:156:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_ctime` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/objects/index.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | ctime_seconds: metadata.st_ctime() as u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/linux/fs.rs:271:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_ctime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_atime` with a similar name [INFO] [stdout] | [INFO] [stdout] 132 - ctime_seconds: metadata.st_ctime() as u32, [INFO] [stdout] 132 + ctime_seconds: metadata.st_atime() as u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_ctime_nsec` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/objects/index.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | ctime_nanoseconds: metadata.st_ctime_nsec() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/linux/fs.rs:290:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_ctime_nsec` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_atime_nsec` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 - ctime_nanoseconds: metadata.st_ctime_nsec() as u32, [INFO] [stdout] 133 + ctime_nanoseconds: metadata.st_atime_nsec() as u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mtime` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/objects/index.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | mtime_seconds: metadata.st_mtime() as u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/linux/fs.rs:235:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_mtime` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_atime` with a similar name [INFO] [stdout] | [INFO] [stdout] 134 - mtime_seconds: metadata.st_mtime() as u32, [INFO] [stdout] 134 + mtime_seconds: metadata.st_atime() as u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mtime_nsec` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/objects/index.rs:135:41 [INFO] [stdout] | [INFO] [stdout] 135 | mtime_nanoseconds: metadata.st_mtime_nsec() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/linux/fs.rs:254:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_mtime_nsec` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_atime_nsec` with a similar name [INFO] [stdout] | [INFO] [stdout] 135 - mtime_nanoseconds: metadata.st_mtime_nsec() as u32, [INFO] [stdout] 135 + mtime_nanoseconds: metadata.st_atime_nsec() as u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_dev` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/objects/index.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | device: metadata.st_dev() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/linux/fs.rs:60:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_dev` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_rdev` with a similar name [INFO] [stdout] | [INFO] [stdout] 136 | device: metadata.st_rdev() as u32, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_ino` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/objects/index.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | inode: metadata.st_ino() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/linux/fs.rs:77:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_ino` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ino` with a similar name [INFO] [stdout] | [INFO] [stdout] 137 - inode: metadata.st_ino() as u32, [INFO] [stdout] 137 + inode: metadata.ino() as u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_uid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/objects/index.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | user_id: metadata.st_uid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/linux/fs.rs:128:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_uid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_gid` with a similar name [INFO] [stdout] | [INFO] [stdout] 154 - user_id: metadata.st_uid(), [INFO] [stdout] 154 + user_id: metadata.st_gid(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_gid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/objects/index.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | group_id: metadata.st_gid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/linux/fs.rs:145:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_gid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_uid` with a similar name [INFO] [stdout] | [INFO] [stdout] 155 - group_id: metadata.st_gid(), [INFO] [stdout] 155 + group_id: metadata.st_uid(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_size` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/objects/index.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | file_size: metadata.st_size() as u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/os/linux/fs.rs:182:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_size` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `size` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 - file_size: metadata.st_size() as u32, [INFO] [stdout] 156 + file_size: metadata.size() as u32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/commands/add.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn invoke(file: &std::path::PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/objects/object.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let file = hash_writer [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | stdin, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `stdin: _` [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-clone` (bin "git-clone") due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ba75bcb46412aad19d603bde8897f87f3f233e50578fad9b880ae8b1309d7be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba75bcb46412aad19d603bde8897f87f3f233e50578fad9b880ae8b1309d7be", kill_on_drop: false }` [INFO] [stdout] 8ba75bcb46412aad19d603bde8897f87f3f233e50578fad9b880ae8b1309d7be