[INFO] cloning repository https://github.com/kantic/termc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kantic/termc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkantic%2Ftermc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkantic%2Ftermc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ad991cbc73e217685c3f4e41797a761071165af [INFO] checking kantic/termc against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkantic%2Ftermc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kantic/termc on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kantic/termc [INFO] finished tweaking git repo https://github.com/kantic/termc [INFO] tweaked toml for git repo https://github.com/kantic/termc written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kantic/termc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded app_dirs v1.2.1 [INFO] [stderr] Downloaded dtoa v0.4.3 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded aho-corasick v0.6.6 [INFO] [stderr] Downloaded serde_derive v0.9.15 [INFO] [stderr] Downloaded thread_local v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ef899e758a174d984c10916ea47596454ff6d819028380c9a7995d3d13000d2 [INFO] running `Command { std: "docker" "start" "-a" "2ef899e758a174d984c10916ea47596454ff6d819028380c9a7995d3d13000d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ef899e758a174d984c10916ea47596454ff6d819028380c9a7995d3d13000d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef899e758a174d984c10916ea47596454ff6d819028380c9a7995d3d13000d2", kill_on_drop: false }` [INFO] [stdout] 2ef899e758a174d984c10916ea47596454ff6d819028380c9a7995d3d13000d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75b327287e016d940a96ee006661409807884dc3b11425b6cc2a0ddcab7bf828 [INFO] running `Command { std: "docker" "start" "-a" "75b327287e016d940a96ee006661409807884dc3b11425b6cc2a0ddcab7bf828", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking xdg v2.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking termc_model v1.0.0 (/opt/rustwide/workdir/termc_model) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> termc_model/src/math_result/mod.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | fn serialize(&self, serializer: S) -> Result<(S::Ok), S::Error> where [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - fn serialize(&self, serializer: S) -> Result<(S::Ok), S::Error> where [INFO] [stdout] 21 + fn serialize(&self, serializer: S) -> Result where [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> termc_model/src/math_result/mod.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | enum Field {ResultType, Re, Im}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> termc_model/src/f64formatter/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | / lazy_static!{ [INFO] [stdout] 72 | | static ref BINARY_MAP : HashMap = { [INFO] [stdout] 73 | | let mut m = HashMap::new(); [INFO] [stdout] 74 | | m.insert(0, '0'); [INFO] [stdout] ... | [INFO] [stdout] 77 | | }; [INFO] [stdout] 78 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> termc_model/src/f64formatter/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / lazy_static!{ [INFO] [stdout] 86 | | static ref OCTAL_MAP : HashMap = { [INFO] [stdout] 87 | | let mut m = HashMap::new(); [INFO] [stdout] 88 | | m.insert(0, '0'); [INFO] [stdout] ... | [INFO] [stdout] 97 | | }; [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> termc_model/src/f64formatter/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / lazy_static!{ [INFO] [stdout] 106 | | static ref HEX_MAP : HashMap = { [INFO] [stdout] 107 | | let mut m = HashMap::new(); [INFO] [stdout] 108 | | m.insert(0, '0'); [INFO] [stdout] ... | [INFO] [stdout] 125 | | }; [INFO] [stdout] 126 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> termc_model/src/result_error/mod.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn cause(& self) -> Option<& Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn cause(& self) -> Option<& dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> termc_model/src/parser/mod.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | fn cause(& self) -> Option<& Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn cause(& self) -> Option<& dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> termc_model/src/parser/tokenizer/mod.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | fn cause(& self) -> Option<& Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | fn cause(& self) -> Option<& dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> termc_model/src/evaluator/mod.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn cause(& self) -> Option<& Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn cause(& self) -> Option<& dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> termc_model/src/parser/mod.rs:31:71 [INFO] [stdout] | [INFO] [stdout] 31 | ParseError::IncompleteInputError => write!(f, "{0}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> termc_model/src/parser/mod.rs:58:52 [INFO] [stdout] | [INFO] [stdout] 58 | ParseError::InputError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> termc_model/src/lib.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | match parse(s.clone(), context) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking termc_ui v1.0.0 (/opt/rustwide/workdir/termc_ui) [INFO] [stderr] Checking termc v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/command_library/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static!{ [INFO] [stdout] 79 | | static ref REGEX_EXIT : Regex = Regex::new("^exit$").unwrap(); [INFO] [stdout] 80 | | static ref REGEX_SAVE : Regex = Regex::new(r"^save(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 81 | | static ref REGEX_LOAD : Regex = Regex::new(r"^load(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 82 | | static ref REGEX_FORMAT : Regex = Regex::new(r"^format(\s+(?P.*))?$").unwrap(); [INFO] [stdout] 83 | | static ref REGEX_INFO : Regex = Regex::new(r"^info$").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command_library/mod.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(& self) -> Option<& Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(& self) -> Option<& dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command_library/mod.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(& self) -> Option<& Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(& self) -> Option<& dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "75b327287e016d940a96ee006661409807884dc3b11425b6cc2a0ddcab7bf828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b327287e016d940a96ee006661409807884dc3b11425b6cc2a0ddcab7bf828", kill_on_drop: false }` [INFO] [stdout] 75b327287e016d940a96ee006661409807884dc3b11425b6cc2a0ddcab7bf828 [INFO] checking kantic/termc against try#aa7c6ba69acce8b10a275eabfe6157ea72c8b599 for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkantic%2Ftermc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kantic/termc on toolchain aa7c6ba69acce8b10a275eabfe6157ea72c8b599 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kantic/termc [INFO] finished tweaking git repo https://github.com/kantic/termc [INFO] tweaked toml for git repo https://github.com/kantic/termc written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kantic/termc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42faee21621545744daaae10d4539071ea6b26cf0a014d8b63478e850dc82587 [INFO] running `Command { std: "docker" "start" "-a" "42faee21621545744daaae10d4539071ea6b26cf0a014d8b63478e850dc82587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42faee21621545744daaae10d4539071ea6b26cf0a014d8b63478e850dc82587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42faee21621545744daaae10d4539071ea6b26cf0a014d8b63478e850dc82587", kill_on_drop: false }` [INFO] [stdout] 42faee21621545744daaae10d4539071ea6b26cf0a014d8b63478e850dc82587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21333899da66e974688f4150d3dc335699e2c019fc8ab014dd368dd316a9374c [INFO] running `Command { std: "docker" "start" "-a" "21333899da66e974688f4150d3dc335699e2c019fc8ab014dd368dd316a9374c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking xdg v2.1.0 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "21333899da66e974688f4150d3dc335699e2c019fc8ab014dd368dd316a9374c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21333899da66e974688f4150d3dc335699e2c019fc8ab014dd368dd316a9374c", kill_on_drop: false }` [INFO] [stdout] 21333899da66e974688f4150d3dc335699e2c019fc8ab014dd368dd316a9374c