[INFO] cloning repository https://github.com/mquandalle/ethereum-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mquandalle/ethereum-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmquandalle%2Fethereum-rust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmquandalle%2Fethereum-rust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2ab6071f4b14c52c57f2078bdebb235995257814 [INFO] testing mquandalle/ethereum-rust against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmquandalle%2Fethereum-rust" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mquandalle/ethereum-rust on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-2/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0cb689b8fc016ac97a4163d8bcecb78440a5d34e8b712ec113cd00e65646195c [INFO] running `"docker" "start" "-a" "0cb689b8fc016ac97a4163d8bcecb78440a5d34e8b712ec113cd00e65646195c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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" "0cb689b8fc016ac97a4163d8bcecb78440a5d34e8b712ec113cd00e65646195c"` [INFO] running `"docker" "rm" "-f" "0cb689b8fc016ac97a4163d8bcecb78440a5d34e8b712ec113cd00e65646195c"` [INFO] [stdout] 0cb689b8fc016ac97a4163d8bcecb78440a5d34e8b712ec113cd00e65646195c