[INFO] cloning repository https://github.com/brson/ctrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brson/ctrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrson%2Fctrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrson%2Fctrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd0a46bf647f439067f45238f59a445181c8cb6d [INFO] checking brson/ctrs against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrson%2Fctrs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brson/ctrs on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brson/ctrs [INFO] finished tweaking git repo https://github.com/brson/ctrs [INFO] tweaked toml for git repo https://github.com/brson/ctrs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/brson/ctrs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27f3e3b4247a22f644e5e85732e670518901bc8b97d4b51468b5817e9ee01f5d [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" "27f3e3b4247a22f644e5e85732e670518901bc8b97d4b51468b5817e9ee01f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27f3e3b4247a22f644e5e85732e670518901bc8b97d4b51468b5817e9ee01f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f3e3b4247a22f644e5e85732e670518901bc8b97d4b51468b5817e9ee01f5d", kill_on_drop: false }` [INFO] [stdout] 27f3e3b4247a22f644e5e85732e670518901bc8b97d4b51468b5817e9ee01f5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd11b776abe69d0c833222a0cd2e51d68abd48ff3eddaf7be0f977f1f25f119b [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" "bd11b776abe69d0c833222a0cd2e51d68abd48ff3eddaf7be0f977f1f25f119b", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling ctrs-rt v0.1.0 (/opt/rustwide/workdir/src/ctrs-rt) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/ctrs-rt/c.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/ctrs-rt/c.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/ctrs-rt/c.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/ctrs-rt/c.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/ctrs-rt/c.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/ctrs-rt/c.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/ctrs-rt/c.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/ctrs-rt/c.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ctrs-rt/c.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let levels = try!(fs::read_dir(test_dir)).filter_map(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ctrs-rt/c.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | let groups = try!(fs::read_dir(level_dir)).filter_map(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ctrs-rt/c.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let tests = try!(fs::read_dir(group_dir)).filter_map(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ctrs-rt/c.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | let dir = try!(entry).path(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ctrs-rt/c.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | let dir = try!(dir.file_name().ok_or_else(|| format!("wut?"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ctrs-rt/c.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | let dir = try!(dir.to_str().ok_or_else(|| format!("non-utf8 path: {:?}", dir))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ctrs-rt/c.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let dir = try!(dir_to_string(entry)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ctrs-rt/c.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(try!(Version::parse(&dir))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Version: Encodable` is not satisfied [INFO] [stdout] --> src/ctrs-rt/c.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `Version` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:853:15 [INFO] [stdout] | [INFO] [stdout] 853 | fn encode(&self, s: &mut S) -> Result<(), S::Error>; [INFO] [stdout] | - required by this bound in `rustc_serialize::Encodable::encode` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Version: Decodable` is not satisfied [INFO] [stdout] --> src/ctrs-rt/c.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | name: Version, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `Version` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:902:1 [INFO] [stdout] | [INFO] [stdout] 902 | pub trait Decodable: Sized { [INFO] [stdout] | -------------------------- required by this bound in `Decodable` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Version: Decodable` is not satisfied [INFO] [stdout] --> src/ctrs-rt/c.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `Version` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:904:18 [INFO] [stdout] | [INFO] [stdout] 904 | fn decode(d: &mut D) -> Result; [INFO] [stdout] | ------- required by this bound in `rustc_serialize::Decodable::decode` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/ctrs-rt/c.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ctrs-rt/c.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | Error::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ctrs-rt/c.rs:159:44 [INFO] [stdout] | [INFO] [stdout] 159 | Error::SemverError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ctrs-rt` [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: build failed [INFO] running `Command { std: "docker" "inspect" "bd11b776abe69d0c833222a0cd2e51d68abd48ff3eddaf7be0f977f1f25f119b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd11b776abe69d0c833222a0cd2e51d68abd48ff3eddaf7be0f977f1f25f119b", kill_on_drop: false }` [INFO] [stdout] bd11b776abe69d0c833222a0cd2e51d68abd48ff3eddaf7be0f977f1f25f119b