[INFO] updating cached repository https://github.com/wilbertom/gitignore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ec9a63dde923fe0fb091b876b751615549d735d [INFO] testing wilbertom/gitignore against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilbertom%2Fgitignore" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wilbertom/gitignore on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wilbertom/gitignore [INFO] finished tweaking git repo https://github.com/wilbertom/gitignore [INFO] tweaked toml for git repo https://github.com/wilbertom/gitignore written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/wilbertom/gitignore already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/carllerche/curl-rust/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbbe6e93f4881b8337df4d9c08172aeff22588b01f012cc49e5c0a3126f72e29 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fbbe6e93f4881b8337df4d9c08172aeff22588b01f012cc49e5c0a3126f72e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbbe6e93f4881b8337df4d9c08172aeff22588b01f012cc49e5c0a3126f72e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbbe6e93f4881b8337df4d9c08172aeff22588b01f012cc49e5c0a3126f72e29", kill_on_drop: false }` [INFO] [stdout] fbbe6e93f4881b8337df4d9c08172aeff22588b01f012cc49e5c0a3126f72e29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 960a7c63423a0fcf910cdaad0959de04ffe29f31e0599feb7b1560e73a03268c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "960a7c63423a0fcf910cdaad0959de04ffe29f31e0599feb7b1560e73a03268c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling curl v0.4.31 (https://github.com/carllerche/curl-rust/#428fbe8e) [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling curl-sys v0.4.34+curl-7.71.1 (https://github.com/carllerche/curl-rust/#428fbe8e) [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling gitignore v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `curl::http` [INFO] [stdout] --> src/bin/gitignore.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use curl::http; [INFO] [stdout] | ^^^^^^^^^^ no `http` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/bin/gitignore.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/bin/gitignore.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let path = Path::new(".gitignore"); [INFO] [stdout] | ^^^^ use of undeclared type or module `Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bin/gitignore.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stdout] --> src/bin/gitignore.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | get(url.as_slice()) [INFO] [stdout] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stdout] --> src/bin/gitignore.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let filename = s.as_slice(); [INFO] [stdout] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gitignore`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "960a7c63423a0fcf910cdaad0959de04ffe29f31e0599feb7b1560e73a03268c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "960a7c63423a0fcf910cdaad0959de04ffe29f31e0599feb7b1560e73a03268c", kill_on_drop: false }` [INFO] [stdout] 960a7c63423a0fcf910cdaad0959de04ffe29f31e0599feb7b1560e73a03268c