[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 master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrson%2Fctrs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brson/ctrs on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-14/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7682b3891f8b3437b9ad755452967d61f346716e7872efd868a4cdfcc7b87ffa [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" "7682b3891f8b3437b9ad755452967d61f346716e7872efd868a4cdfcc7b87ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7682b3891f8b3437b9ad755452967d61f346716e7872efd868a4cdfcc7b87ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7682b3891f8b3437b9ad755452967d61f346716e7872efd868a4cdfcc7b87ffa", kill_on_drop: false }` [INFO] [stdout] 7682b3891f8b3437b9ad755452967d61f346716e7872efd868a4cdfcc7b87ffa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fb4b02d6a6569cc3993fbdfba090cf07844e978b87d487914bee14cb56c68cd6 [INFO] running `Command { std: "docker" "start" "-a" "fb4b02d6a6569cc3993fbdfba090cf07844e978b87d487914bee14cb56c68cd6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Checking semver v0.1.20 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking ctrs-rt v0.1.0 (/opt/rustwide/workdir/src/ctrs-rt) [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] = note: `#[warn(deprecated)]` on by default [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; 11 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" "fb4b02d6a6569cc3993fbdfba090cf07844e978b87d487914bee14cb56c68cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb4b02d6a6569cc3993fbdfba090cf07844e978b87d487914bee14cb56c68cd6", kill_on_drop: false }` [INFO] [stdout] fb4b02d6a6569cc3993fbdfba090cf07844e978b87d487914bee14cb56c68cd6