[INFO] cloning repository https://github.com/Polly-lang/Polly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Polly-lang/Polly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolly-lang%2FPolly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolly-lang%2FPolly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d04e656dddb3e39cb8aacf26000cf33896f0ed52 [INFO] testing Polly-lang/Polly against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolly-lang%2FPolly" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Polly-lang/Polly on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Polly-lang/Polly [INFO] finished tweaking git repo https://github.com/Polly-lang/Polly [INFO] tweaked toml for git repo https://github.com/Polly-lang/Polly written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Polly-lang/Polly already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", 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] 9934a0f9ec1e1782dfe62c8e36f64d97cc06b098fcf71e1a7175044e88576a52 [INFO] running `Command { std: "docker" "start" "-a" "9934a0f9ec1e1782dfe62c8e36f64d97cc06b098fcf71e1a7175044e88576a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9934a0f9ec1e1782dfe62c8e36f64d97cc06b098fcf71e1a7175044e88576a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9934a0f9ec1e1782dfe62c8e36f64d97cc06b098fcf71e1a7175044e88576a52", kill_on_drop: false }` [INFO] [stdout] 9934a0f9ec1e1782dfe62c8e36f64d97cc06b098fcf71e1a7175044e88576a52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8290a8fabb32fbb88daa4a4cf74bac5439aecab1c151a9449d91a38ea94f9746 [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" "8290a8fabb32fbb88daa4a4cf74bac5439aecab1c151a9449d91a38ea94f9746", kill_on_drop: false }` [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 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:190:60 [INFO] [stdout] | [INFO] [stdout] 190 | ... 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:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | '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] 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:276:49 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 276 | 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:286:45 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 286 | 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 14.75s [INFO] running `Command { std: "docker" "inspect" "8290a8fabb32fbb88daa4a4cf74bac5439aecab1c151a9449d91a38ea94f9746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8290a8fabb32fbb88daa4a4cf74bac5439aecab1c151a9449d91a38ea94f9746", kill_on_drop: false }` [INFO] [stdout] 8290a8fabb32fbb88daa4a4cf74bac5439aecab1c151a9449d91a38ea94f9746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88dbb92c5e97ff9ffdf751465ac5a8333092bb50d9943b121f120ce591e2a997 [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" "88dbb92c5e97ff9ffdf751465ac5a8333092bb50d9943b121f120ce591e2a997", kill_on_drop: false }` [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:190:60 [INFO] [stdout] | [INFO] [stdout] 190 | ... 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:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | '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] 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:276:49 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 276 | 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:286:45 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 286 | 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] [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:190:60 [INFO] [stdout] | [INFO] [stdout] 190 | ... 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:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | '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] 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:276:49 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 276 | 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:286:45 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(UnexpectedEof($token)); [INFO] [stdout] | --------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 286 | 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 3.51s [INFO] running `Command { std: "docker" "inspect" "88dbb92c5e97ff9ffdf751465ac5a8333092bb50d9943b121f120ce591e2a997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88dbb92c5e97ff9ffdf751465ac5a8333092bb50d9943b121f120ce591e2a997", kill_on_drop: false }` [INFO] [stdout] 88dbb92c5e97ff9ffdf751465ac5a8333092bb50d9943b121f120ce591e2a997 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", 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] 7e5110ffaecb16f6ef666fff3f703ff21a5cfe8d36191dce213d965aa2f8b286 [INFO] running `Command { std: "docker" "start" "-a" "7e5110ffaecb16f6ef666fff3f703ff21a5cfe8d36191dce213d965aa2f8b286", 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:190:60 [INFO] [stderr] | [INFO] [stderr] 190 | ... 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:225:9 [INFO] [stderr] | [INFO] [stderr] 225 | '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] 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:276:49 [INFO] [stderr] | [INFO] [stderr] 16 | return Err(UnexpectedEof($token)); [INFO] [stderr] | --------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 276 | 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:286:45 [INFO] [stderr] | [INFO] [stderr] 16 | return Err(UnexpectedEof($token)); [INFO] [stderr] | --------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 286 | 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:190:60 [INFO] [stderr] | [INFO] [stderr] 190 | ... 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:225:9 [INFO] [stderr] | [INFO] [stderr] 225 | '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] 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:276:49 [INFO] [stderr] | [INFO] [stderr] 16 | return Err(UnexpectedEof($token)); [INFO] [stderr] | --------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 276 | 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:286:45 [INFO] [stderr] | [INFO] [stderr] 16 | return Err(UnexpectedEof($token)); [INFO] [stderr] | --------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 286 | 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.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/polly-c4a350e3fb57a6df [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test compiler::lexer::tests::at_operator ... ok [INFO] [stdout] test compiler::lexer::tests::close_param_operator ... ok [INFO] [stdout] test compiler::lexer::tests::all_operators ... ok [INFO] [stdout] test compiler::lexer::tests::back_slash_operator ... ok [INFO] [stdout] test compiler::lexer::tests::ampersand_operator ... ok [INFO] [stdout] test compiler::lexer::tests::dollar_operator ... ok [INFO] [stdout] test compiler::lexer::tests::open_param_operator ... ok [INFO] [stdout] test template::tests::component ... ok [INFO] [stdout] test template::tests::component_imported ... ok [INFO] [stdout] test template::tests::element ... ok [INFO] [stdout] test compiler::lexer::tests::pound_operator ... 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::star_operator ... ok [INFO] [stdout] test compiler::lexer::tests::quote_operator ... ok [INFO] [stdout] test template::tests::function_if_else ... ok [INFO] [stdout] test template::tests::function_if ... ok [INFO] [stdout] test compiler::lexer::tests::equals_operator ... ok [INFO] [stdout] test compiler::lexer::tests::dot_operator ... ok [INFO] [stdout] test compiler::lexer::tests::close_brace_operator ... ok [INFO] [stdout] test compiler::lexer::tests::word ... ok [INFO] [stdout] test template::tests::locales ... ok [INFO] [stdout] test compiler::lexer::tests::words_and_operators ... ok [INFO] [stdout] test compiler::lexer::tests::words ... ok [INFO] [stdout] test compiler::lexer::tests::forward_slash_operator ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pollyc-e96f731a96e5c8d0 [INFO] [stdout] test template::tests::variable ... ok [INFO] [stdout] test compiler::lexer::tests::hello_world ... ok [INFO] [stdout] test template::tests::function_each ... ok [INFO] [stdout] test template::tests::variable_inside_another_variable ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests polly [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/compiler/parser.rs:190:60 [INFO] [stderr] | [INFO] [stderr] 190 | ... 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] [stdout] [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] running 3 tests [INFO] [stderr] [INFO] [stdout] test src/template.rs - template::std_functions (line 133) ... ok [INFO] [stdout] test src/template.rs - template::std_functions (line 95) ... ok [INFO] [stdout] test src/template.rs - template::std_functions (line 41) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e5110ffaecb16f6ef666fff3f703ff21a5cfe8d36191dce213d965aa2f8b286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5110ffaecb16f6ef666fff3f703ff21a5cfe8d36191dce213d965aa2f8b286", kill_on_drop: false }` [INFO] [stdout] 7e5110ffaecb16f6ef666fff3f703ff21a5cfe8d36191dce213d965aa2f8b286