[INFO] fetching crate pinar 0.1.0... [INFO] checking pinar-0.1.0 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate pinar 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate pinar 0.1.0 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pinar 0.1.0 [INFO] finished tweaking crates.io crate pinar 0.1.0 [INFO] tweaked toml for crates.io crate pinar 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pinar-derive v0.1.0 [INFO] [stderr] Downloaded pinar-napi-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7641b2b46a322299b68f30ee6dda21ec4295eb9954f841a36d7ee49a25631472 [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" "7641b2b46a322299b68f30ee6dda21ec4295eb9954f841a36d7ee49a25631472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7641b2b46a322299b68f30ee6dda21ec4295eb9954f841a36d7ee49a25631472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7641b2b46a322299b68f30ee6dda21ec4295eb9954f841a36d7ee49a25631472", kill_on_drop: false }` [INFO] [stdout] 7641b2b46a322299b68f30ee6dda21ec4295eb9954f841a36d7ee49a25631472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f4ce80fae179370b60be9989cbcbb01b6fb0402f1a28ff0db9eef0752c486c9 [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" "4f4ce80fae179370b60be9989cbcbb01b6fb0402f1a28ff0db9eef0752c486c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling pinar-napi-sys v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking addr2line v0.15.1 [INFO] [stderr] Compiling pinar-derive v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pinar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/module.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) functions: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CallbackHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/module.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | fun: Box R> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn(A) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | cause: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn JsError` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn as_js_error(&self) -> &JsError { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn JsError` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | fn as_fail(&self) -> &Fail; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn as_fail(&self) -> &Fail { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/classes.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JsError, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | methods: Vec>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | method: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | accessor: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | fun: Box R>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&C, A) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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/pinar_serde/ser.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | formatter.write_str(std::error::Error::description(self)) [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/pinar_serde/de.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/module.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) functions: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CallbackHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/module.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | fun: Box R> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn(A) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | cause: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn JsError` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn as_js_error(&self) -> &JsError { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn JsError` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | fn as_fail(&self) -> &Fail; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn as_fail(&self) -> &Fail { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/classes.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JsError, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | methods: Vec>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | method: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | accessor: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ClassMethodHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/classes.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | fun: Box R>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&C, A) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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/pinar_serde/ser.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | formatter.write_str(std::error::Error::description(self)) [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/pinar_serde/de.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | formatter.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Fail::downcast_ref(self.cause.as_fail()) [INFO] [stdout] | ^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Fail::downcast_ref(self.cause.as_fail()) [INFO] [stdout] | ^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsError` [INFO] [stdout] --> src/classes.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JsError, Error}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | fn test9(args: ()) -> ABC { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/lib.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | fn test12<'e>((env, s1, obj): (Env, JsString, JsObject)) -> JsString<'e> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/lib.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | fn test12<'e>((env, s1, obj): (Env, JsString, JsObject)) -> JsString<'e> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/lib.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | fn test13<'e>((env, abc): (Env, ABC)) -> ABC { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsError` [INFO] [stdout] --> src/classes.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JsError, Error}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | fn test9(args: ()) -> ABC { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/lib.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | fn test12<'e>((env, s1, obj): (Env, JsString, JsObject)) -> JsString<'e> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/lib.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | fn test12<'e>((env, s1, obj): (Env, JsString, JsObject)) -> JsString<'e> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/lib.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | fn test13<'e>((env, abc): (Env, ABC)) -> ABC { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real` [INFO] [stdout] --> src/classes.rs:392:12 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn real(&self, a: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real2` [INFO] [stdout] --> src/classes.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn real2(&self, a: (String, i64)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `other` [INFO] [stdout] --> src/classes.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn other(&self, a: u64, b: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jsbox` [INFO] [stdout] --> src/classes.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn jsbox(&self, _args: Option) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/classes.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn test(env: Env) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testfn` [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn testfn(fun: JsFunction) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real` [INFO] [stdout] --> src/classes.rs:392:12 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn real(&self, a: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `real2` [INFO] [stdout] --> src/classes.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn real2(&self, a: (String, i64)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `other` [INFO] [stdout] --> src/classes.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn other(&self, a: u64, b: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jsbox` [INFO] [stdout] --> src/classes.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn jsbox(&self, _args: Option) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/classes.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn test(env: Env) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testfn` [INFO] [stdout] --> src/lib.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn testfn(fun: JsFunction) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.58s [INFO] running `Command { std: "docker" "inspect" "4f4ce80fae179370b60be9989cbcbb01b6fb0402f1a28ff0db9eef0752c486c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f4ce80fae179370b60be9989cbcbb01b6fb0402f1a28ff0db9eef0752c486c9", kill_on_drop: false }` [INFO] [stdout] 4f4ce80fae179370b60be9989cbcbb01b6fb0402f1a28ff0db9eef0752c486c9