[INFO] updating cached repository https://github.com/wilbertom/gitignore
[INFO] running `"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"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 9ec9a63dde923fe0fb091b876b751615549d735d
[INFO] checking wilbertom/gitignore against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilbertom%2Fgitignore" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wilbertom/gitignore on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-0/source/Cargo.toml
[INFO] crate git repo https://github.com/wilbertom/gitignore already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/carllerche/curl-rust/`
[INFO] [stderr]     Updating git submodule `https://github.com/curl/curl.git`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 706d73f57dbf5a1089d54935ab743a461c79285db154b1cf730c4d8da7799eb7
[INFO] running `"docker" "start" "-a" "706d73f57dbf5a1089d54935ab743a461c79285db154b1cf730c4d8da7799eb7"`
[INFO] [stderr]    Compiling curl v0.4.28 (https://github.com/carllerche/curl-rust/#68349087)
[INFO] [stderr]    Compiling curl-sys v0.4.30+curl-7.69.1 (https://github.com/carllerche/curl-rust/#68349087)
[INFO] [stderr]     Checking libz-sys v1.0.25
[INFO] [stderr]     Checking socket2 v0.3.12
[INFO] [stderr]     Checking gitignore v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `curl::http`
[INFO] [stderr]  --> src/bin/gitignore.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use curl::http;
[INFO] [stderr]   |     ^^^^^^^^^^ no `http` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::File`
[INFO] [stderr]  --> src/bin/gitignore.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::io::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/bin/gitignore.rs:38:18
[INFO] [stderr]    |
[INFO] [stderr] 38 |       let path = Path::new(".gitignore");
[INFO] [stderr]    |                  ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]   --> src/bin/gitignore.rs:21:18
[INFO] [stderr]    |
[INFO] [stderr] 21 |   let args = os::args();
[INFO] [stderr]    |                  ^^^^ not found in `os`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use std::env::args;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/bin/gitignore.rs:16:11
[INFO] [stderr]    |
[INFO] [stderr] 16 |   get(url.as_slice())
[INFO] [stderr]    |           ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/bin/gitignore.rs:34:24
[INFO] [stderr]    |
[INFO] [stderr] 34 |       let filename = s.as_slice();
[INFO] [stderr]    |                        ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `gitignore`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0432]: unresolved import `curl::http`
[INFO] [stderr]  --> src/bin/gitignore.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use curl::http;
[INFO] [stderr]   |     ^^^^^^^^^^ no `http` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::File`
[INFO] [stderr]  --> src/bin/gitignore.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::io::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/bin/gitignore.rs:38:18
[INFO] [stderr]    |
[INFO] [stderr] 38 |       let path = Path::new(".gitignore");
[INFO] [stderr]    |                  ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]   --> src/bin/gitignore.rs:21:18
[INFO] [stderr]    |
[INFO] [stderr] 21 |   let args = os::args();
[INFO] [stderr]    |                  ^^^^ not found in `os`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use std::env::args;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/bin/gitignore.rs:16:11
[INFO] [stderr]    |
[INFO] [stderr] 16 |   get(url.as_slice())
[INFO] [stderr]    |           ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/bin/gitignore.rs:34:24
[INFO] [stderr]    |
[INFO] [stderr] 34 |       let filename = s.as_slice();
[INFO] [stderr]    |                        ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `gitignore`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "706d73f57dbf5a1089d54935ab743a461c79285db154b1cf730c4d8da7799eb7"`
[INFO] running `"docker" "rm" "-f" "706d73f57dbf5a1089d54935ab743a461c79285db154b1cf730c4d8da7799eb7"`
[INFO] [stdout] 706d73f57dbf5a1089d54935ab743a461c79285db154b1cf730c4d8da7799eb7
