[INFO] updating cached repository https://github.com/Kingsquee/depot [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] 7e3d36c00b49eb1eec496c94d5559f4d9532264e [INFO] testing Kingsquee/depot against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingsquee%2Fdepot" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kingsquee/depot 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/Kingsquee/depot [INFO] finished tweaking git repo https://github.com/Kingsquee/depot [INFO] tweaked toml for git repo https://github.com/Kingsquee/depot written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Kingsquee/depot 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-7/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] 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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 96f0f22c1eab8d24e6bdaf2d8c1d97be2aa38e1c62ac29ddf856b1d938e8110b [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" "96f0f22c1eab8d24e6bdaf2d8c1d97be2aa38e1c62ac29ddf856b1d938e8110b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96f0f22c1eab8d24e6bdaf2d8c1d97be2aa38e1c62ac29ddf856b1d938e8110b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f0f22c1eab8d24e6bdaf2d8c1d97be2aa38e1c62ac29ddf856b1d938e8110b", kill_on_drop: false }` [INFO] [stdout] 96f0f22c1eab8d24e6bdaf2d8c1d97be2aa38e1c62ac29ddf856b1d938e8110b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 5f61581c1a6d11211a55cc1f5af5720042c83a9adf3bb0b98b75c0322b4ccd68 [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" "5f61581c1a6d11211a55cc1f5af5720042c83a9adf3bb0b98b75c0322b4ccd68", kill_on_drop: false }` [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling depot v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::{File, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Parser` in `toml` [INFO] [stdout] --> src/main.rs:388:26 [INFO] [stdout] | [INFO] [stdout] 388 | let mut parser = toml::Parser::new(&toml); [INFO] [stdout] | ^^^^^^ could not find `Parser` in `toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `toml` [INFO] [stdout] --> src/main.rs:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | let toml_manifest: DependencyManifest = toml::decode(toml::Value::Table(root)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::json::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_str` in crate `toml` [INFO] [stdout] --> src/main.rs:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | dependencies = toml::encode_str(&final_manifest), [INFO] [stdout] | ^^^^^^^^^^ not found in `toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `toml` [INFO] [stdout] --> src/main.rs:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | let toml_manifest: DepotManifest = toml::decode(toml::Value::Table(root)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::json::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in crate `toml` [INFO] [stdout] --> src/main.rs:387:48 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn parse(toml: &str, file: &Path) -> toml::Table { [INFO] [stdout] | ^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 | use toml::value::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(path_ext)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | 'a_dep: for (dep_name_a, dep_a) in manifest_a.dependencies.as_ref().unwrap().iter() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | 'b_manifest: for (manifest_name_b, manifest_b) in toml_manifests.iter() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | 'b_dep: for (dep_name_b, dep_b) in manifest_b.dependencies.as_ref().unwrap().iter() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `depot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5f61581c1a6d11211a55cc1f5af5720042c83a9adf3bb0b98b75c0322b4ccd68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f61581c1a6d11211a55cc1f5af5720042c83a9adf3bb0b98b75c0322b4ccd68", kill_on_drop: false }` [INFO] [stdout] 5f61581c1a6d11211a55cc1f5af5720042c83a9adf3bb0b98b75c0322b4ccd68