[INFO] fetching crate polly 0.1.2... [INFO] testing polly-0.1.2 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate polly 0.1.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate polly 0.1.2 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate polly 0.1.2 [INFO] finished tweaking crates.io crate polly 0.1.2 [INFO] tweaked toml for crates.io crate polly 0.1.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ace504075dd512fae3954d59a77de9569543f5c932af273b218a017e148ee8c8 [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" "ace504075dd512fae3954d59a77de9569543f5c932af273b218a017e148ee8c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ace504075dd512fae3954d59a77de9569543f5c932af273b218a017e148ee8c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace504075dd512fae3954d59a77de9569543f5c932af273b218a017e148ee8c8", kill_on_drop: false }` [INFO] [stdout] ace504075dd512fae3954d59a77de9569543f5c932af273b218a017e148ee8c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b42c5e6bf86c592cf98844718cd45747f117360976d7d8b85eac03f7f950a66c [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" "b42c5e6bf86c592cf98844718cd45747f117360976d7d8b85eac03f7f950a66c", kill_on_drop: false }` [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling serde v0.6.15 [INFO] [stderr] Compiling serde_json v0.6.1 [INFO] [stderr] Compiling polly v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/compiler/parser.rs:189:60 [INFO] [stdout] | [INFO] [stdout] 189 | ... return Ok(CompCall((ComponentCall::from_component(component)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/compiler/parser.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | 'element: while let Some(token) = self.take() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/compiler/codegen.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ----------------- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 335 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/template.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stdout] | ________________________^ [INFO] [stdout] 15 | | -> Result>; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stdout] 15 | -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/template.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ----------------- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 162 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/compiler/parser.rs:275:49 [INFO] [stdout] | [INFO] [stdout] 15 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 275 | return unexpected_eof!(Symbol(index, Equals)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/compiler/parser.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 15 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 285 | None => return unexpected_eof!(Word(index, key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [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/compiler/codegen.rs:293:42 [INFO] [stdout] | [INFO] [stdout] 293 | AstError(ref error) => error.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/compiler/codegen.rs:297:47 [INFO] [stdout] | [INFO] [stdout] 297 | FromUtf8Error(ref error) => error.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/compiler/codegen.rs:299:41 [INFO] [stdout] | [INFO] [stdout] 299 | IoError(ref error) => error.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/compiler/codegen.rs:315:71 [INFO] [stdout] | [INFO] [stdout] 315 | CompPassedToComp(ref name) => format!("{} NAME: {}", self.description(), name), [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/compiler/codegen.rs:317:70 [INFO] [stdout] | [INFO] [stdout] 317 | FunctionError(ref error) => format!("{} ERROR: {}", self.description(), error), [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/compiler/codegen.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | format!("{} NAME: {}", self.description(), name) [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/compiler/codegen.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | self.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/compiler/tokens/ast.rs:101:48 [INFO] [stdout] | [INFO] [stdout] 101 | Eof => return write!(f, "{}", self.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/compiler/tokens/ast.rs:113:45 [INFO] [stdout] | [INFO] [stdout] 113 | return write!(f, "{}", self.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/compiler/tokens/ast.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | write!(f, "{}, Got: {}", self.description(), lexeme) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.55s [INFO] running `Command { std: "docker" "inspect" "b42c5e6bf86c592cf98844718cd45747f117360976d7d8b85eac03f7f950a66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42c5e6bf86c592cf98844718cd45747f117360976d7d8b85eac03f7f950a66c", kill_on_drop: false }` [INFO] [stdout] b42c5e6bf86c592cf98844718cd45747f117360976d7d8b85eac03f7f950a66c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--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] 93ed948413cef510fd854911c2d10ddefc591d0b0f1d4a796cd3741de5c22174 [INFO] running `Command { std: "docker" "start" "-a" "93ed948413cef510fd854911c2d10ddefc591d0b0f1d4a796cd3741de5c22174", kill_on_drop: false }` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/compiler/parser.rs:189:60 [INFO] [stdout] | [INFO] [stdout] 189 | ... return Ok(CompCall((ComponentCall::from_component(component)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/compiler/parser.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | 'element: while let Some(token) = self.take() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/compiler/codegen.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ----------------- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 335 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/template.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stdout] | ________________________^ [INFO] [stdout] 15 | | -> Result>; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stdout] 15 | -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/template.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ----------------- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 162 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/compiler/parser.rs:275:49 [INFO] [stdout] | [INFO] [stdout] 15 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 275 | return unexpected_eof!(Symbol(index, Equals)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/compiler/parser.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 15 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 285 | None => return unexpected_eof!(Word(index, key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [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/compiler/codegen.rs:293:42 [INFO] [stdout] | [INFO] [stdout] 293 | AstError(ref error) => error.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/compiler/codegen.rs:297:47 [INFO] [stdout] | [INFO] [stdout] 297 | FromUtf8Error(ref error) => error.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/compiler/codegen.rs:299:41 [INFO] [stdout] | [INFO] [stdout] 299 | IoError(ref error) => error.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/compiler/codegen.rs:315:71 [INFO] [stdout] | [INFO] [stdout] 315 | CompPassedToComp(ref name) => format!("{} NAME: {}", self.description(), name), [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/compiler/codegen.rs:317:70 [INFO] [stdout] | [INFO] [stdout] 317 | FunctionError(ref error) => format!("{} ERROR: {}", self.description(), error), [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/compiler/codegen.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | format!("{} NAME: {}", self.description(), name) [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/compiler/codegen.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | self.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/compiler/tokens/ast.rs:101:48 [INFO] [stdout] | [INFO] [stdout] 101 | Eof => return write!(f, "{}", self.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/compiler/tokens/ast.rs:113:45 [INFO] [stdout] | [INFO] [stdout] 113 | return write!(f, "{}", self.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/compiler/tokens/ast.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | write!(f, "{}, Got: {}", self.description(), lexeme) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling polly v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/compiler/parser.rs:189:60 [INFO] [stdout] | [INFO] [stdout] 189 | ... return Ok(CompCall((ComponentCall::from_component(component)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/compiler/parser.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | 'element: while let Some(token) = self.take() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/compiler/codegen.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ----------------- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 335 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/template.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stdout] | ________________________^ [INFO] [stdout] 15 | | -> Result>; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stdout] 15 | -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/template.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ----------------- the item `Value` is already imported here [INFO] [stdout] ... [INFO] [stdout] 162 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/compiler/parser.rs:275:49 [INFO] [stdout] | [INFO] [stdout] 15 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 275 | return unexpected_eof!(Symbol(index, Equals)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/compiler/parser.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 15 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 285 | None => return unexpected_eof!(Word(index, key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [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/compiler/codegen.rs:293:42 [INFO] [stdout] | [INFO] [stdout] 293 | AstError(ref error) => error.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/compiler/codegen.rs:297:47 [INFO] [stdout] | [INFO] [stdout] 297 | FromUtf8Error(ref error) => error.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/compiler/codegen.rs:299:41 [INFO] [stdout] | [INFO] [stdout] 299 | IoError(ref error) => error.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/compiler/codegen.rs:315:71 [INFO] [stdout] | [INFO] [stdout] 315 | CompPassedToComp(ref name) => format!("{} NAME: {}", self.description(), name), [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/compiler/codegen.rs:317:70 [INFO] [stdout] | [INFO] [stdout] 317 | FunctionError(ref error) => format!("{} ERROR: {}", self.description(), error), [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/compiler/codegen.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | format!("{} NAME: {}", self.description(), name) [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/compiler/codegen.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | self.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/compiler/tokens/ast.rs:101:48 [INFO] [stdout] | [INFO] [stdout] 101 | Eof => return write!(f, "{}", self.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/compiler/tokens/ast.rs:113:45 [INFO] [stdout] | [INFO] [stdout] 113 | return write!(f, "{}", self.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/compiler/tokens/ast.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | write!(f, "{}, Got: {}", self.description(), lexeme) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "93ed948413cef510fd854911c2d10ddefc591d0b0f1d4a796cd3741de5c22174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ed948413cef510fd854911c2d10ddefc591d0b0f1d4a796cd3741de5c22174", kill_on_drop: false }` [INFO] [stdout] 93ed948413cef510fd854911c2d10ddefc591d0b0f1d4a796cd3741de5c22174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b66bae9f022871d04ff388b93a6f90914b4faae8a5a17caf6fe94d459aa64dd4 [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" "b66bae9f022871d04ff388b93a6f90914b4faae8a5a17caf6fe94d459aa64dd4", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/compiler/parser.rs:189:60 [INFO] [stderr] | [INFO] [stderr] 189 | ... return Ok(CompCall((ComponentCall::from_component(component)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/compiler/parser.rs:224:9 [INFO] [stderr] | [INFO] [stderr] 224 | 'element: while let Some(token) = self.take() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Value` is imported redundantly [INFO] [stderr] --> src/compiler/codegen.rs:335:9 [INFO] [stderr] | [INFO] [stderr] 9 | use serde_json::Value; [INFO] [stderr] | ----------------- the item `Value` is already imported here [INFO] [stderr] ... [INFO] [stderr] 335 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/template.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stderr] | ________________________^ [INFO] [stderr] 15 | | -> Result>; [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stderr] 15 | -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the item `Value` is imported redundantly [INFO] [stderr] --> src/template.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 9 | use serde_json::Value; [INFO] [stderr] | ----------------- the item `Value` is already imported here [INFO] [stderr] ... [INFO] [stderr] 162 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/compiler/parser.rs:275:49 [INFO] [stderr] | [INFO] [stderr] 15 | return Err(UnexpectedEof($token)); [INFO] [stderr] | --------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 275 | return unexpected_eof!(Symbol(index, Equals)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/compiler/parser.rs:285:45 [INFO] [stderr] | [INFO] [stderr] 15 | return Err(UnexpectedEof($token)); [INFO] [stderr] | --------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 285 | None => return unexpected_eof!(Word(index, key)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:293:42 [INFO] [stderr] | [INFO] [stderr] 293 | AstError(ref error) => error.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:297:47 [INFO] [stderr] | [INFO] [stderr] 297 | FromUtf8Error(ref error) => error.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:299:41 [INFO] [stderr] | [INFO] [stderr] 299 | IoError(ref error) => error.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:315:71 [INFO] [stderr] | [INFO] [stderr] 315 | CompPassedToComp(ref name) => format!("{} NAME: {}", self.description(), name), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:317:70 [INFO] [stderr] | [INFO] [stderr] 317 | FunctionError(ref error) => format!("{} ERROR: {}", self.description(), error), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:320:45 [INFO] [stderr] | [INFO] [stderr] 320 | format!("{} NAME: {}", self.description(), name) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:324:30 [INFO] [stderr] | [INFO] [stderr] 324 | self.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/tokens/ast.rs:101:48 [INFO] [stderr] | [INFO] [stderr] 101 | Eof => return write!(f, "{}", self.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/tokens/ast.rs:113:45 [INFO] [stderr] | [INFO] [stderr] 113 | return write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/tokens/ast.rs:117:39 [INFO] [stderr] | [INFO] [stderr] 117 | write!(f, "{}, Got: {}", self.description(), lexeme) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 18 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/compiler/parser.rs:189:60 [INFO] [stderr] | [INFO] [stderr] 189 | ... return Ok(CompCall((ComponentCall::from_component(component)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/compiler/parser.rs:224:9 [INFO] [stderr] | [INFO] [stderr] 224 | 'element: while let Some(token) = self.take() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Value` is imported redundantly [INFO] [stderr] --> src/compiler/codegen.rs:335:9 [INFO] [stderr] | [INFO] [stderr] 9 | use serde_json::Value; [INFO] [stderr] | ----------------- the item `Value` is already imported here [INFO] [stderr] ... [INFO] [stderr] 335 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/template.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stderr] | ________________________^ [INFO] [stderr] 15 | | -> Result>; [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | pub type PollyFn = Box, &Rc>) [INFO] [stderr] 15 | -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the item `Value` is imported redundantly [INFO] [stderr] --> src/template.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 9 | use serde_json::Value; [INFO] [stderr] | ----------------- the item `Value` is already imported here [INFO] [stderr] ... [INFO] [stderr] 162 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/compiler/parser.rs:275:49 [INFO] [stderr] | [INFO] [stderr] 15 | return Err(UnexpectedEof($token)); [INFO] [stderr] | --------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 275 | return unexpected_eof!(Symbol(index, Equals)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/compiler/parser.rs:285:45 [INFO] [stderr] | [INFO] [stderr] 15 | return Err(UnexpectedEof($token)); [INFO] [stderr] | --------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 285 | None => return unexpected_eof!(Word(index, key)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:293:42 [INFO] [stderr] | [INFO] [stderr] 293 | AstError(ref error) => error.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:297:47 [INFO] [stderr] | [INFO] [stderr] 297 | FromUtf8Error(ref error) => error.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:299:41 [INFO] [stderr] | [INFO] [stderr] 299 | IoError(ref error) => error.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:315:71 [INFO] [stderr] | [INFO] [stderr] 315 | CompPassedToComp(ref name) => format!("{} NAME: {}", self.description(), name), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:317:70 [INFO] [stderr] | [INFO] [stderr] 317 | FunctionError(ref error) => format!("{} ERROR: {}", self.description(), error), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:320:45 [INFO] [stderr] | [INFO] [stderr] 320 | format!("{} NAME: {}", self.description(), name) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/codegen.rs:324:30 [INFO] [stderr] | [INFO] [stderr] 324 | self.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/tokens/ast.rs:101:48 [INFO] [stderr] | [INFO] [stderr] 101 | Eof => return write!(f, "{}", self.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/tokens/ast.rs:113:45 [INFO] [stderr] | [INFO] [stderr] 113 | return write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/compiler/tokens/ast.rs:117:39 [INFO] [stderr] | [INFO] [stderr] 117 | write!(f, "{}, Got: {}", self.description(), lexeme) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/polly-ba1dc2b1cdbea77b) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test compiler::lexer::tests::ampersand_operator ... ok [INFO] [stdout] test compiler::lexer::tests::all_operators ... ok [INFO] [stdout] test compiler::lexer::tests::at_operator ... ok [INFO] [stdout] test compiler::lexer::tests::close_brace_operator ... ok [INFO] [stdout] test compiler::lexer::tests::back_slash_operator ... ok [INFO] [stdout] test compiler::lexer::tests::close_param_operator ... ok [INFO] [stdout] test compiler::lexer::tests::dollar_operator ... ok [INFO] [stdout] test compiler::lexer::tests::dot_operator ... ok [INFO] [stdout] test compiler::lexer::tests::equals_operator ... ok [INFO] [stdout] test compiler::lexer::tests::forward_slash_operator ... ok [INFO] [stdout] test compiler::lexer::tests::hello_world ... ok [INFO] [stdout] test compiler::lexer::tests::ignore_spaces ... ok [INFO] [stdout] test compiler::lexer::tests::open_brace_operator ... ok [INFO] [stdout] test compiler::lexer::tests::open_param_operator ... ok [INFO] [stdout] test compiler::lexer::tests::pound_operator ... ok [INFO] [stdout] test compiler::lexer::tests::quote_operator ... ok [INFO] [stdout] test compiler::lexer::tests::star_operator ... ok [INFO] [stdout] test compiler::lexer::tests::word ... ok [INFO] [stdout] test compiler::lexer::tests::words ... ok [INFO] [stdout] test compiler::lexer::tests::words_and_operators ... ok [INFO] [stdout] test template::tests::component_imported ... ok [INFO] [stdout] test template::tests::function_if ... ok [INFO] [stdout] test template::tests::component ... ok [INFO] [stdout] test template::tests::locales ... ok [INFO] [stdout] test template::tests::element ... ok [INFO] [stdout] test template::tests::variable ... ok [INFO] [stdout] test template::tests::variable_inside_another_variable ... ok [INFO] [stdout] test template::tests::function_each ... ok [INFO] [stdout] test template::tests::function_if_else ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pollybin-6b7b8f6a11f397fb) [INFO] [stdout] [INFO] [stderr] Doc-tests polly [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/compiler/parser.rs:189:60 [INFO] [stderr] | [INFO] [stderr] 189 | ... return Ok(CompCall((ComponentCall::from_component(component)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/template.rs - template::std_functions (line 133) ... ok [INFO] [stdout] test src/template.rs - template::std_functions (line 41) ... ok [INFO] [stdout] test src/template.rs - template::std_functions (line 95) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.76s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b66bae9f022871d04ff388b93a6f90914b4faae8a5a17caf6fe94d459aa64dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b66bae9f022871d04ff388b93a6f90914b4faae8a5a17caf6fe94d459aa64dd4", kill_on_drop: false }` [INFO] [stdout] b66bae9f022871d04ff388b93a6f90914b4faae8a5a17caf6fe94d459aa64dd4