[INFO] fetching crate mgx 0.1.10... [INFO] testing mgx-0.1.10 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate mgx 0.1.10 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate mgx 0.1.10 [INFO] finished tweaking crates.io crate mgx 0.1.10 [INFO] tweaked toml for crates.io crate mgx 0.1.10 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mgx 0.1.10 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mgx 0.1.10 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28e1f4988629456602820733a2f2e6130918afd650c962b00c7f4bb1c83c3224 [INFO] running `Command { std: "docker" "start" "-a" "28e1f4988629456602820733a2f2e6130918afd650c962b00c7f4bb1c83c3224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28e1f4988629456602820733a2f2e6130918afd650c962b00c7f4bb1c83c3224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28e1f4988629456602820733a2f2e6130918afd650c962b00c7f4bb1c83c3224", kill_on_drop: false }` [INFO] [stdout] 28e1f4988629456602820733a2f2e6130918afd650c962b00c7f4bb1c83c3224 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4fa3575d06151e8781ef8b7eac435ac3e3024a7448be28175aa23dac8cbab09 [INFO] running `Command { std: "docker" "start" "-a" "d4fa3575d06151e8781ef8b7eac435ac3e3024a7448be28175aa23dac8cbab09", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ab_glyph v0.2.31 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling chksum-hash-core v0.0.0 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling boyer-moore-magiclen v0.2.20 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling chksum-hash-md5 v0.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling mgx v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 24s [INFO] running `Command { std: "docker" "inspect" "d4fa3575d06151e8781ef8b7eac435ac3e3024a7448be28175aa23dac8cbab09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fa3575d06151e8781ef8b7eac435ac3e3024a7448be28175aa23dac8cbab09", kill_on_drop: false }` [INFO] [stdout] d4fa3575d06151e8781ef8b7eac435ac3e3024a7448be28175aa23dac8cbab09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3f8250ac91c1f86dd38f2defe0bcf09b108e2f077c2ceb6d9aceec6b03ecdc0 [INFO] running `Command { std: "docker" "start" "-a" "c3f8250ac91c1f86dd38f2defe0bcf09b108e2f077c2ceb6d9aceec6b03ecdc0", kill_on_drop: false }` [INFO] [stderr] Compiling mgx v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn iter(&self) -> Iter<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "c3f8250ac91c1f86dd38f2defe0bcf09b108e2f077c2ceb6d9aceec6b03ecdc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f8250ac91c1f86dd38f2defe0bcf09b108e2f077c2ceb6d9aceec6b03ecdc0", kill_on_drop: false }` [INFO] [stdout] c3f8250ac91c1f86dd38f2defe0bcf09b108e2f077c2ceb6d9aceec6b03ecdc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71c99ed1f6010262287cbfef6e22e760174fc24e773905faa677d5871dd460a8 [INFO] running `Command { std: "docker" "start" "-a" "71c99ed1f6010262287cbfef6e22e760174fc24e773905faa677d5871dd460a8", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cursor.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 39 | fn iter(&self) -> Iter<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `mgx` (lib) generated 1 warning (run `cargo fix --lib -p mgx` to apply 1 suggestion) [INFO] [stderr] warning: `mgx` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mgx-f08943f2af8d9840) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mgx-958180c3439dd2a5) [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] [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] [stderr] Doc-tests mgx [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - (line 65) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 40) stdout ---- [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | rec.translate(); [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `&str` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/render.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn translate(&mut self, lang: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 59 | rec.translate(/* &str */); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 65) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filename` in this scope [INFO] [stdout] --> src/lib.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let mut record = Record::new(filename, buffer.len(), last_modified); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_modified` in this scope [INFO] [stdout] --> src/lib.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | let mut record = Record::new(filename, buffer.len(), last_modified); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_65_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 76 | parser.parse_to(&mut record)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 66 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_65_0() -> Result<(), Box> { [INFO] [stdout] 67 | use mgx::{Parser, Record}; [INFO] [stdout] ... [INFO] [stdout] 78 | record.translate(); [INFO] [stdout] 79 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | record.translate(); [INFO] [stdout] | ^^^^^^^^^-- argument #1 of type `&str` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/render.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn translate(&mut self, lang: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 78 | record.translate(/* &str */); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 40) [INFO] [stdout] src/lib.rs - (line 65) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "71c99ed1f6010262287cbfef6e22e760174fc24e773905faa677d5871dd460a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c99ed1f6010262287cbfef6e22e760174fc24e773905faa677d5871dd460a8", kill_on_drop: false }` [INFO] [stdout] 71c99ed1f6010262287cbfef6e22e760174fc24e773905faa677d5871dd460a8