[INFO] fetching crate wfst4str 1.0.4... [INFO] testing wfst4str-1.0.4 against 1.59.0 for beta-1.60-1 [INFO] extracting crate wfst4str 1.0.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate wfst4str 1.0.4 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/.cargo/config.toml [INFO] started tweaking crates.io crate wfst4str 1.0.4 [INFO] finished tweaking crates.io crate wfst4str 1.0.4 [INFO] tweaked toml for crates.io crate wfst4str 1.0.4 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] aeca4414a21c76d0333c59fad456b4c57174b738224f5c150ff338d5577ca007 [INFO] running `Command { std: "docker" "start" "-a" "aeca4414a21c76d0333c59fad456b4c57174b738224f5c150ff338d5577ca007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeca4414a21c76d0333c59fad456b4c57174b738224f5c150ff338d5577ca007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeca4414a21c76d0333c59fad456b4c57174b738224f5c150ff338d5577ca007", kill_on_drop: false }` [INFO] [stdout] aeca4414a21c76d0333c59fad456b4c57174b738224f5c150ff338d5577ca007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f432ad745b193dee97c1a72e77b3226d3372f25231d1cc5d3cd8b9bd27b47077 [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" "f432ad745b193dee97c1a72e77b3226d3372f25231d1cc5d3cd8b9bd27b47077", kill_on_drop: false }` [INFO] [stderr] Compiling pyo3-build-config v0.15.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling compare v0.0.6 [INFO] [stderr] Compiling unsafe_unwrap v0.1.0 [INFO] [stderr] Compiling superslice v1.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling binary-heap-plus v0.1.6 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bimap v0.3.1 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ordered_iter v0.1.2 [INFO] [stderr] Compiling stable_bst v0.2.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.15.1 [INFO] [stderr] Compiling pyo3 v0.15.1 [INFO] [stderr] Compiling rustfst v0.9.0 [INFO] [stderr] Compiling pyo3-macros v0.15.1 [INFO] [stderr] Compiling wfst4str v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.00s [INFO] running `Command { std: "docker" "inspect" "f432ad745b193dee97c1a72e77b3226d3372f25231d1cc5d3cd8b9bd27b47077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f432ad745b193dee97c1a72e77b3226d3372f25231d1cc5d3cd8b9bd27b47077", kill_on_drop: false }` [INFO] [stdout] f432ad745b193dee97c1a72e77b3226d3372f25231d1cc5d3cd8b9bd27b47077 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1843eac771a21528d252166da5895c8b443175c6f8c66d60de9e3beea3f91bab [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" "1843eac771a21528d252166da5895c8b443175c6f8c66d60de9e3beea3f91bab", kill_on_drop: false }` [INFO] [stderr] Compiling wfst4str v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.07s [INFO] running `Command { std: "docker" "inspect" "1843eac771a21528d252166da5895c8b443175c6f8c66d60de9e3beea3f91bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1843eac771a21528d252166da5895c8b443175c6f8c66d60de9e3beea3f91bab", kill_on_drop: false }` [INFO] [stdout] 1843eac771a21528d252166da5895c8b443175c6f8c66d60de9e3beea3f91bab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 2c64009ff5c44f90a8faf7a43a931c4c4d7c1dc37fc25dbe8b116a1c4783e65b [INFO] running `Command { std: "docker" "start" "-a" "2c64009ff5c44f90a8faf7a43a931c4c4d7c1dc37fc25dbe8b116a1c4783e65b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wfst4str-15e2d3416ad2ec08) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests wfst4str [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 6 tests [INFO] [stdout] test src/lib.rs - SymTab (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - SymTab::new (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - SymTab::get_symbol (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - SymTab::get_label (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - SymTab::add_symbol (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - WeightedFst (line 118) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SymTab (line 42) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SymTab` [INFO] [stdout] --> src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 3 | let symt = SymTab::new(vec!["a", "b", "c"]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wfst4str::SymTab; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SymTab::new (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SymTab` [INFO] [stdout] --> src/lib.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 3 | let symt = SymTab::new(vec!["a", "b", "c"]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wfst4str::SymTab; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SymTab::get_symbol (line 104) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SymTab` [INFO] [stdout] --> src/lib.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 3 | let symt = SymTab::new(vec!["a", "b", "c"]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wfst4str::SymTab; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SymTab::get_label (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SymTab` [INFO] [stdout] --> src/lib.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 3 | let symt = SymTab::new(vec!["a", "b", "c"]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wfst4str::SymTab; [INFO] [stdout] | [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:94:31 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_92_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let symt = SymTab::new(vec!["a", "b", "c"]); [INFO] [stdout] 4 | | assert_eq!(symt.get_label("b")?, 2); [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } _doctest_main_src_lib_rs_92_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SymTab::add_symbol (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SymTab` [INFO] [stdout] --> src/lib.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 3 | let symt = SymTab::new(vec!["a", "b"]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wfst4str::SymTab; [INFO] [stdout] | [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:81:30 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_78_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let symt = SymTab::new(vec!["a", "b"]); [INFO] [stdout] 4 | | symt.add_symbol("c"); [INFO] [stdout] 5 | | assert_eq!(symt.get_symbol(3)?, "c"); [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | } _doctest_main_src_lib_rs_78_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - WeightedFst (line 118) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 8 | t.set_input_symbols(sym); [INFO] [stdout] | ^^^ expected struct `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<&str>` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 9 | t.set_output_symbols(sym); [INFO] [stdout] | ^^^ expected struct `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<&str>` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/lib.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 14 | t.add_tr(0, 1, "a", "b").unwrap(); [INFO] [stdout] | ^^^^^^ - - --- --- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn add_tr( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [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 - SymTab (line 42) [INFO] [stdout] src/lib.rs - SymTab::add_symbol (line 78) [INFO] [stdout] src/lib.rs - SymTab::get_label (line 92) [INFO] [stdout] src/lib.rs - SymTab::get_symbol (line 104) [INFO] [stdout] src/lib.rs - SymTab::new (line 62) [INFO] [stdout] src/lib.rs - WeightedFst (line 118) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2c64009ff5c44f90a8faf7a43a931c4c4d7c1dc37fc25dbe8b116a1c4783e65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c64009ff5c44f90a8faf7a43a931c4c4d7c1dc37fc25dbe8b116a1c4783e65b", kill_on_drop: false }` [INFO] [stdout] 2c64009ff5c44f90a8faf7a43a931c4c4d7c1dc37fc25dbe8b116a1c4783e65b