[INFO] cloning repository https://github.com/TheOZoneBE/lambda-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheOZoneBE/lambda-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOZoneBE%2Flambda-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOZoneBE%2Flambda-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe5751dd26b60fd511f2213e4ea961214170f146 [INFO] testing TheOZoneBE/lambda-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheOZoneBE%2Flambda-rs" "/workspace/builds/worker-41/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-41/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheOZoneBE/lambda-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheOZoneBE/lambda-rs [INFO] finished tweaking git repo https://github.com/TheOZoneBE/lambda-rs [INFO] tweaked toml for git repo https://github.com/TheOZoneBE/lambda-rs written to /workspace/builds/worker-41/source/Cargo.toml [INFO] crate git repo https://github.com/TheOZoneBE/lambda-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_derive v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 930815fc5dbb54e1ee1cf9167c7043af4e8c2e88e48fd88d8c65b43adf1f3304 [INFO] running `Command { std: "docker" "start" "-a" "930815fc5dbb54e1ee1cf9167c7043af4e8c2e88e48fd88d8c65b43adf1f3304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "930815fc5dbb54e1ee1cf9167c7043af4e8c2e88e48fd88d8c65b43adf1f3304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "930815fc5dbb54e1ee1cf9167c7043af4e8c2e88e48fd88d8c65b43adf1f3304", kill_on_drop: false }` [INFO] [stdout] 930815fc5dbb54e1ee1cf9167c7043af4e8c2e88e48fd88d8c65b43adf1f3304 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad58227894716f2bf8da576637e82d08d456b2cf300e515f12faa6811167a130 [INFO] running `Command { std: "docker" "start" "-a" "ad58227894716f2bf8da576637e82d08d456b2cf300e515f12faa6811167a130", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stderr] Compiling lambda-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn read_file(path: &str) -> 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn read_file(path: &str) -> Result> { [INFO] [stdout] 22 + pub fn read_file(path: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | _ => panic!(format!("Building of {:?} not implemented", rule)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 278 - _ => panic!(format!("Building of {:?} not implemented", rule)), [INFO] [stdout] 278 + _ => panic!("Building of {:?} not implemented", rule), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 395 | _ => panic!(format!("Incorrect type {:?}", pair)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 395 - _ => panic!(format!("Incorrect type {:?}", pair)), [INFO] [stdout] 395 + _ => panic!("Incorrect type {:?}", pair), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | _ => panic!(format!("Incorrect operator")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 428 - _ => panic!(format!("Incorrect operator")), [INFO] [stdout] 428 + _ => panic!("Incorrect operator"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `recursive_print` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn recursive_print(pair: Pair<'_, Rule>, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.47s [INFO] running `Command { std: "docker" "inspect" "ad58227894716f2bf8da576637e82d08d456b2cf300e515f12faa6811167a130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad58227894716f2bf8da576637e82d08d456b2cf300e515f12faa6811167a130", kill_on_drop: false }` [INFO] [stdout] ad58227894716f2bf8da576637e82d08d456b2cf300e515f12faa6811167a130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc433b6cd10cc26a5d0593e44766ce850795dad500e20c02e19f045cae4c9567 [INFO] running `Command { std: "docker" "start" "-a" "cc433b6cd10cc26a5d0593e44766ce850795dad500e20c02e19f045cae4c9567", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling lambda-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn read_file(path: &str) -> 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn read_file(path: &str) -> Result> { [INFO] [stdout] 22 + pub fn read_file(path: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | _ => panic!(format!("Building of {:?} not implemented", rule)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 278 - _ => panic!(format!("Building of {:?} not implemented", rule)), [INFO] [stdout] 278 + _ => panic!("Building of {:?} not implemented", rule), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 395 | _ => panic!(format!("Incorrect type {:?}", pair)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 395 - _ => panic!(format!("Incorrect type {:?}", pair)), [INFO] [stdout] 395 + _ => panic!("Incorrect type {:?}", pair), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | _ => panic!(format!("Incorrect operator")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 428 - _ => panic!(format!("Incorrect operator")), [INFO] [stdout] 428 + _ => panic!("Incorrect operator"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `recursive_print` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn recursive_print(pair: Pair<'_, Rule>, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/examples.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | .unwrap_or_else(|e| panic!(format!("Typechecking for {} failed with {}", filename, e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 15 - .unwrap_or_else(|e| panic!(format!("Typechecking for {} failed with {}", filename, e))); [INFO] [stdout] 15 + .unwrap_or_else(|e| panic!("Typechecking for {} failed with {}", filename, e)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn read_file(path: &str) -> 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn read_file(path: &str) -> Result> { [INFO] [stdout] 22 + pub fn read_file(path: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `recursive_print` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn recursive_print(pair: Pair<'_, Rule>, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | _ => panic!(format!("Building of {:?} not implemented", rule)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 278 - _ => panic!(format!("Building of {:?} not implemented", rule)), [INFO] [stdout] 278 + _ => panic!("Building of {:?} not implemented", rule), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 395 | _ => panic!(format!("Incorrect type {:?}", pair)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 395 - _ => panic!(format!("Incorrect type {:?}", pair)), [INFO] [stdout] 395 + _ => panic!("Incorrect type {:?}", pair), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | _ => panic!(format!("Incorrect operator")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 428 - _ => panic!(format!("Incorrect operator")), [INFO] [stdout] 428 + _ => panic!("Incorrect operator"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.36s [INFO] running `Command { std: "docker" "inspect" "cc433b6cd10cc26a5d0593e44766ce850795dad500e20c02e19f045cae4c9567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc433b6cd10cc26a5d0593e44766ce850795dad500e20c02e19f045cae4c9567", kill_on_drop: false }` [INFO] [stdout] cc433b6cd10cc26a5d0593e44766ce850795dad500e20c02e19f045cae4c9567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 937fcd7584fe955940baea4c0f0732ade98acf84f1d59c307d1079e4eb56ee97 [INFO] running `Command { std: "docker" "start" "-a" "937fcd7584fe955940baea4c0f0732ade98acf84f1d59c307d1079e4eb56ee97", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:22:52 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 22 | pub fn read_file(path: &str) -> Result> { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] running 0 tests [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] [INFO] [stderr] = note: for more information, see [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] help: use `dyn` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 22 - pub fn read_file(path: &str) -> Result> { [INFO] [stdout] running 1 test [INFO] [stderr] 22 + pub fn read_file(path: &str) -> Result> { [INFO] [stdout] test evaluate_examples ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] [INFO] [stderr] --> src/ast.rs:278:21 [INFO] [stderr] | [INFO] [stderr] 278 | _ => panic!(format!("Building of {:?} not implemented", rule)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 278 - _ => panic!(format!("Building of {:?} not implemented", rule)), [INFO] [stderr] 278 + _ => panic!("Building of {:?} not implemented", rule), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ast.rs:395:21 [INFO] [stderr] | [INFO] [stderr] 395 | _ => panic!(format!("Incorrect type {:?}", pair)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 395 - _ => panic!(format!("Incorrect type {:?}", pair)), [INFO] [stderr] 395 + _ => panic!("Incorrect type {:?}", pair), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ast.rs:428:21 [INFO] [stderr] | [INFO] [stderr] 428 | _ => panic!(format!("Incorrect operator")), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 428 - _ => panic!(format!("Incorrect operator")), [INFO] [stderr] 428 + _ => panic!("Incorrect operator"), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lambda-rs` (lib) generated 4 warnings [INFO] [stderr] warning: `lambda-rs` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: function is never used: `recursive_print` [INFO] [stderr] --> src/main.rs:59:4 [INFO] [stderr] | [INFO] [stderr] 59 | fn recursive_print(pair: Pair<'_, Rule>, level: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/examples.rs:15:36 [INFO] [stderr] | [INFO] [stderr] 15 | .unwrap_or_else(|e| panic!(format!("Typechecking for {} failed with {}", filename, e))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 15 - .unwrap_or_else(|e| panic!(format!("Typechecking for {} failed with {}", filename, e))); [INFO] [stderr] 15 + .unwrap_or_else(|e| panic!("Typechecking for {} failed with {}", filename, e)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lambda-rs` (bin "lambda-rs" test) generated 1 warning [INFO] [stderr] warning: `lambda-rs` (bin "lambda-rs") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `lambda-rs` (test "examples") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.45s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lambda_rs-a8339aafa00c3399) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lambda_rs-285675a36fe5446b) [INFO] [stderr] Running tests/examples.rs (/opt/rustwide/target/debug/deps/examples-970d55518ffa3c6a) [INFO] [stderr] Doc-tests lambda-rs [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "937fcd7584fe955940baea4c0f0732ade98acf84f1d59c307d1079e4eb56ee97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "937fcd7584fe955940baea4c0f0732ade98acf84f1d59c307d1079e4eb56ee97", kill_on_drop: false }` [INFO] [stdout] 937fcd7584fe955940baea4c0f0732ade98acf84f1d59c307d1079e4eb56ee97