[INFO] updating cached repository https://github.com/mquandalle/ethereum-rust
[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] 2ab6071f4b14c52c57f2078bdebb235995257814
[INFO] checking mquandalle/ethereum-rust against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmquandalle%2Fethereum-rust" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mquandalle/ethereum-rust 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/mquandalle/ethereum-rust
[INFO] finished tweaking git repo https://github.com/mquandalle/ethereum-rust
[INFO] tweaked toml for git repo https://github.com/mquandalle/ethereum-rust written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/mquandalle/ethereum-rust 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-5/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] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 725f78a6bf4d028fc44395cea7232f513b1f51090ffd76720a1c22a138e5e299
[INFO] running `"docker" "start" "-a" "725f78a6bf4d028fc44395cea7232f513b1f51090ffd76720a1c22a138e5e299"`
[INFO] [stderr]    Compiling leveldb-rs v0.0.2
[INFO] [stderr] error[E0432]: unresolved imports `std::io::Command`, `std::io::fs`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/leveldb-rs-0.0.2/build.rs:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::io::{Command, fs};
[INFO] [stderr]   |               ^^^^^^^  ^^ no `fs` in `io`
[INFO] [stderr]   |               |
[INFO] [stderr]   |               no `Command` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/leveldb-rs-0.0.2/build.rs:54:33
[INFO] [stderr]    |
[INFO] [stderr] 54 |     let out_dir = Path::new(os::getenv("OUT_DIR").unwrap());
[INFO] [stderr]    |                                 ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/leveldb-rs-0.0.2/build.rs:62:23
[INFO] [stderr]    |
[INFO] [stderr] 62 |     let out_dir = os::getenv("OUT_DIR").unwrap();
[INFO] [stderr]    |                       ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_str` found for struct `std::path::PathBuf` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/leveldb-rs-0.0.2/build.rs:19:51
[INFO] [stderr]    |
[INFO] [stderr] 19 |     Command::new("make").args(&["-C", snappy_path.as_str().unwrap()])
[INFO] [stderr]    |                                                   ^^^^^^ help: there is an associated function with a similar name: `to_str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_str` found for struct `std::path::PathBuf` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/leveldb-rs-0.0.2/build.rs:31:51
[INFO] [stderr]    |
[INFO] [stderr] 31 |     Command::new("make").args(&["-C", snappy_path.as_str().unwrap()])
[INFO] [stderr]    |                                                   ^^^^^^ help: there is an associated function with a similar name: `to_str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_str` found for struct `std::path::PathBuf` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/leveldb-rs-0.0.2/build.rs:41:52
[INFO] [stderr]    |
[INFO] [stderr] 41 |     Command::new("make").args(&["-C", leveldb_path.as_str().unwrap()])
[INFO] [stderr]    |                                                    ^^^^^^ help: there is an associated function with a similar name: `to_str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_str` found for struct `std::path::PathBuf` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/leveldb-rs-0.0.2/build.rs:47:52
[INFO] [stderr]    |
[INFO] [stderr] 47 |     Command::new("make").args(&["-C", leveldb_path.as_str().unwrap()])
[INFO] [stderr]    |                                                    ^^^^^^ help: there is an associated function with a similar name: `to_str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_str` found for struct `std::path::PathBuf` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/leveldb-rs-0.0.2/build.rs:48:76
[INFO] [stderr]    |
[INFO] [stderr] 48 |                         .env("LDFLAGS",  format!("-L{}",       snappy_path.as_str().unwrap()))
[INFO] [stderr]    |                                                                            ^^^^^^ help: there is an associated function with a similar name: `to_str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_str` found for struct `std::path::PathBuf` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/leveldb-rs-0.0.2/build.rs:49:76
[INFO] [stderr]    |
[INFO] [stderr] 49 |                         .env("CXXFLAGS", format!("-I{} -fPIC", snappy_path.as_str().unwrap()))
[INFO] [stderr]    |                                                                            ^^^^^^ help: there is an associated function with a similar name: `to_str`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 9 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `leveldb-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "725f78a6bf4d028fc44395cea7232f513b1f51090ffd76720a1c22a138e5e299"`
[INFO] running `"docker" "rm" "-f" "725f78a6bf4d028fc44395cea7232f513b1f51090ffd76720a1c22a138e5e299"`
[INFO] [stdout] 725f78a6bf4d028fc44395cea7232f513b1f51090ffd76720a1c22a138e5e299
