[INFO] fetching crate contractions 0.5.4... [INFO] testing contractions-0.5.4 against 1.59.0 for beta-1.60-1 [INFO] extracting crate contractions 0.5.4 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate contractions 0.5.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] started tweaking crates.io crate contractions 0.5.4 [INFO] finished tweaking crates.io crate contractions 0.5.4 [INFO] tweaked toml for crates.io crate contractions 0.5.4 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate contractions 0.5.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stdout] 96b4a15227e8d74cd7a88b1096c458d3eb8d49ab121b6549af1c419d57664e0d [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" "96b4a15227e8d74cd7a88b1096c458d3eb8d49ab121b6549af1c419d57664e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96b4a15227e8d74cd7a88b1096c458d3eb8d49ab121b6549af1c419d57664e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b4a15227e8d74cd7a88b1096c458d3eb8d49ab121b6549af1c419d57664e0d", kill_on_drop: false }` [INFO] [stdout] 96b4a15227e8d74cd7a88b1096c458d3eb8d49ab121b6549af1c419d57664e0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 7a72855d43e24e20bcf6fe111dac08c7f5c05b449b9bb230e841f7c29a2ee311 [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" "7a72855d43e24e20bcf6fe111dac08c7f5c05b449b9bb230e841f7c29a2ee311", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_test v1.0.126 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling contractions v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.56s [INFO] running `Command { std: "docker" "inspect" "7a72855d43e24e20bcf6fe111dac08c7f5c05b449b9bb230e841f7c29a2ee311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a72855d43e24e20bcf6fe111dac08c7f5c05b449b9bb230e841f7c29a2ee311", kill_on_drop: false }` [INFO] [stdout] 7a72855d43e24e20bcf6fe111dac08c7f5c05b449b9bb230e841f7c29a2ee311 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 0c02d70cfac6208ef4f1ad6b13b2f42ff60aa5aa563177598ec96ac025d25ab7 [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" "0c02d70cfac6208ef4f1ad6b13b2f42ff60aa5aa563177598ec96ac025d25ab7", kill_on_drop: false }` [INFO] [stderr] Compiling contractions v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "0c02d70cfac6208ef4f1ad6b13b2f42ff60aa5aa563177598ec96ac025d25ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c02d70cfac6208ef4f1ad6b13b2f42ff60aa5aa563177598ec96ac025d25ab7", kill_on_drop: false }` [INFO] [stdout] 0c02d70cfac6208ef4f1ad6b13b2f42ff60aa5aa563177598ec96ac025d25ab7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stdout] f316373e1b945c12e358352332b13cd6a2cea37714a3539904d7b12e073a8511 [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" "f316373e1b945c12e358352332b13cd6a2cea37714a3539904d7b12e073a8511", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/contractions-02dd1a4c86b14047) [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] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-c71531370b598cbb) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test add ... ok [INFO] [stdout] test apply__new ... ok [INFO] [stdout] test from_json__by_hand ... ok [INFO] [stdout] test partials ... ok [INFO] [stdout] test from_json__from_file ... ok [INFO] [stdout] test add_from_json__from_file ... ok [INFO] [stdout] test remove ... ok [INFO] [stdout] test remove__keep_others ... ok [INFO] [stdout] test apply__double_apostroph_would_have ... ok [INFO] [stdout] test apply__capitalization ... ok [INFO] [stdout] test apply__do_not_replace_partials_where_not_intended ... ok [INFO] [stdout] test apply__double_apostroph_are ... ok [INFO] [stdout] test apply__double_apostroph ... ok [INFO] [stdout] test apply__slang ... ok [INFO] [stdout] test apply__single_quotation_mark ... ok [INFO] [stdout] test apply__single_apostroph ... ok [INFO] [stdout] test apply__dont_replace_possessives ... ok [INFO] [stdout] test apply__period_after_contraction ... ok [INFO] [stdout] test apply__double_apostroph_will_have ... ok [INFO] [stdout] test apply__multiple_terms ... ok [INFO] [stdout] test apply__grave_accent ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 13.79s [INFO] [stdout] [INFO] [stderr] Doc-tests contractions [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - Contractions::add_from_json (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - Contractions::from_json (line 155) ... FAILED [INFO] [stdout] test src/lib.rs - Contractions::remove (line 196) ... FAILED [INFO] [stdout] test src/lib.rs - Contractions::default (line 122) ... ok [INFO] [stdout] test src/lib.rs - Contractions::new (line 138) ... ok [INFO] [stdout] test src/lib.rs - Contractions::add (line 212) ... ok [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] test src/lib.rs - Contractions::apply (line 248) ... ok [INFO] [stdout] test src/lib.rs - Contractions (line 108) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Contractions::add_from_json (line 173) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `SINGLE_CONTRACTIONS_JSON` in crate `contractions` [INFO] [stdout] --> src/lib.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 6 | contractions.add_from_json(contractions::SINGLE_CONTRACTIONS_JSON); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `EXPAND_SINGLE_CONTRACTIONS_JSON` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / pub const EXPAND_SINGLE_CONTRACTIONS_JSON :&str = [INFO] [stdout] 45 | | include_str!("../data/expand/single_contractions.json"); [INFO] [stdout] | |____________________________________________________________- similarly named constant `EXPAND_SINGLE_CONTRACTIONS_JSON` defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Contractions` [INFO] [stdout] --> src/lib.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 4 | let mut contractions = Contractions::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use contractions::Contractions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SINGLE_CONTRACTIONS_JSON` in crate `contractions` [INFO] [stdout] --> src/lib.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 5 | contractions.add_from_json(contractions::SINGLE_CONTRACTIONS_JSON); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `EXPAND_SINGLE_CONTRACTIONS_JSON` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / pub const EXPAND_SINGLE_CONTRACTIONS_JSON :&str = [INFO] [stdout] 45 | | include_str!("../data/expand/single_contractions.json"); [INFO] [stdout] | |____________________________________________________________- similarly named constant `EXPAND_SINGLE_CONTRACTIONS_JSON` defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Contractions::from_json (line 155) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `SINGLE_CONTRACTIONS_JSON` in crate `contractions` [INFO] [stdout] --> src/lib.rs:157:60 [INFO] [stdout] | [INFO] [stdout] 5 | let contractions = Contractions::from_json(&[contractions::SINGLE_CONTRACTIONS_JSON, contractions::SINGLE_NO_APOSTROPHE_CONTRACTIONS_JSON]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `EXPAND_SINGLE_CONTRACTIONS_JSON` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / pub const EXPAND_SINGLE_CONTRACTIONS_JSON :&str = [INFO] [stdout] 45 | | include_str!("../data/expand/single_contractions.json"); [INFO] [stdout] | |____________________________________________________________- similarly named constant `EXPAND_SINGLE_CONTRACTIONS_JSON` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SINGLE_NO_APOSTROPHE_CONTRACTIONS_JSON` in crate `contractions` [INFO] [stdout] --> src/lib.rs:157:100 [INFO] [stdout] | [INFO] [stdout] 5 | let contractions = Contractions::from_json(&[contractions::SINGLE_CONTRACTIONS_JSON, contractions::SINGLE_NO_APOSTROPHE_CONTRACTIONS_JSON]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `EXPAND_SINGLE_NO_APOSTROPHE_CONTRACTIONS_JSON` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / pub const EXPAND_SINGLE_NO_APOSTROPHE_CONTRACTIONS_JSON :&str = [INFO] [stdout] 54 | | include_str!("../data/expand/single_no_apostroph_contractions.json"); [INFO] [stdout] | |_________________________________________________________________________- similarly named constant `EXPAND_SINGLE_NO_APOSTROPHE_CONTRACTIONS_JSON` defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Contractions::remove (line 196) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `SINGLE_CONTRACTIONS_JSON` in crate `contractions` [INFO] [stdout] --> src/lib.rs:200:42 [INFO] [stdout] | [INFO] [stdout] 7 | contractions.add_from_json(contractions::SINGLE_CONTRACTIONS_JSON); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `EXPAND_SINGLE_CONTRACTIONS_JSON` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / pub const EXPAND_SINGLE_CONTRACTIONS_JSON :&str = [INFO] [stdout] 45 | | include_str!("../data/expand/single_contractions.json"); [INFO] [stdout] | |____________________________________________________________- similarly named constant `EXPAND_SINGLE_CONTRACTIONS_JSON` defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] src/lib.rs - Contractions::add_from_json (line 173) [INFO] [stdout] src/lib.rs - Contractions::from_json (line 155) [INFO] [stdout] src/lib.rs - Contractions::remove (line 196) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f316373e1b945c12e358352332b13cd6a2cea37714a3539904d7b12e073a8511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f316373e1b945c12e358352332b13cd6a2cea37714a3539904d7b12e073a8511", kill_on_drop: false }` [INFO] [stdout] f316373e1b945c12e358352332b13cd6a2cea37714a3539904d7b12e073a8511