[INFO] fetching crate comprez 0.2.7... [INFO] testing comprez-0.2.7 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate comprez 0.2.7 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate comprez 0.2.7 [INFO] finished tweaking crates.io crate comprez 0.2.7 [INFO] tweaked toml for crates.io crate comprez 0.2.7 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate comprez 0.2.7 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding lz4_flex v0.9.5 (available: v0.11.5) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 47c919af930bd587858f4d5f12ef243b6d63e98f9206bdf52752ee3dcf6d7604 [INFO] running `Command { std: "docker" "start" "-a" "47c919af930bd587858f4d5f12ef243b6d63e98f9206bdf52752ee3dcf6d7604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47c919af930bd587858f4d5f12ef243b6d63e98f9206bdf52752ee3dcf6d7604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c919af930bd587858f4d5f12ef243b6d63e98f9206bdf52752ee3dcf6d7604", kill_on_drop: false }` [INFO] [stdout] 47c919af930bd587858f4d5f12ef243b6d63e98f9206bdf52752ee3dcf6d7604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d818b04245cfe3e9f36cd1a46683c7fdf1517f3233ffcbcb5ae946e461c6883c [INFO] running `Command { std: "docker" "start" "-a" "d818b04245cfe3e9f36cd1a46683c7fdf1517f3233ffcbcb5ae946e461c6883c", kill_on_drop: false }` [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling lz4_flex v0.9.5 [INFO] [stderr] Compiling comprez v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "d818b04245cfe3e9f36cd1a46683c7fdf1517f3233ffcbcb5ae946e461c6883c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d818b04245cfe3e9f36cd1a46683c7fdf1517f3233ffcbcb5ae946e461c6883c", kill_on_drop: false }` [INFO] [stdout] d818b04245cfe3e9f36cd1a46683c7fdf1517f3233ffcbcb5ae946e461c6883c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7cf7a7395d43275ca135c6d3962847d71cfb7936077cf76f481b5f522e457e27 [INFO] running `Command { std: "docker" "start" "-a" "7cf7a7395d43275ca135c6d3962847d71cfb7936077cf76f481b5f522e457e27", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling comprez v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.23s [INFO] running `Command { std: "docker" "inspect" "7cf7a7395d43275ca135c6d3962847d71cfb7936077cf76f481b5f522e457e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf7a7395d43275ca135c6d3962847d71cfb7936077cf76f481b5f522e457e27", kill_on_drop: false }` [INFO] [stdout] 7cf7a7395d43275ca135c6d3962847d71cfb7936077cf76f481b5f522e457e27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2b2a63bdf7e3e9f0120eb2cd7485b997e18e59b05523a6e05e12f9a75878ba95 [INFO] running `Command { std: "docker" "start" "-a" "2b2a63bdf7e3e9f0120eb2cd7485b997e18e59b05523a6e05e12f9a75878ba95", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/comprez-1929a0c57b7bcf35) [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 comprez [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/comprezable.rs - comprezable::Comprezable::compress (line 6) ... FAILED [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/comprezable.rs - comprezable::Comprezable::compress (line 6) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `comprez_macro` [INFO] [stdout] --> src/comprezable.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use comprez_macro::Comprezable; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `comprez_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `comprez_macro`, use `cargo add comprez_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compressed` found for struct `MyStruct` in the current scope [INFO] [stdout] --> src/comprezable.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 12 | struct MyStruct { [INFO] [stdout] | --------------- method `compressed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | let compressed = demo.compressed().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MyStruct` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error: expected one of `.`, `?`, `]`, or an operator, found `,` [INFO] [stdout] --> src/lib.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 42 | let demo_data = Mystruct { [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 49 | vec3: vec[11, 12, 13, 14], [INFO] [stdout] | ^ expected one of `.`, `?`, `]`, or an operator [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `12` [INFO] [stdout] --> src/lib.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 42 | let demo_data = Mystruct { [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 49 | vec3: vec[11, 12, 13, 14], [INFO] [stdout] | ^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `13` [INFO] [stdout] --> src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 42 | let demo_data = Mystruct { [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 49 | vec3: vec[11, 12, 13, 14], [INFO] [stdout] | ^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `14` [INFO] [stdout] --> src/lib.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 42 | let demo_data = Mystruct { [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 49 | vec3: vec[11, 12, 13, 14], [INFO] [stdout] | ^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:52:51 [INFO] [stdout] | [INFO] [stdout] 52 | let compressed = demo_data.compress().unwrap() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 53 | let compressed_bytes = compressed.to_bytes(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `comprez_macro` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use comprez_macro::Comprezable; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `comprez_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `comprez_macro`, use `cargo add comprez_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `maxNum` in this scope [INFO] [stdout] --> src/lib.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[maxNum=10000] //Compulsory for each field [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `maxNum` in this scope [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[maxNum=888] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `maxNum` in this scope [INFO] [stdout] --> src/lib.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[maxNum=100] //from -100 to 100 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `maxNum` in this scope [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[maxNum=200] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `maxNum` in this scope [INFO] [stdout] --> src/lib.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[maxNum=1000000] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Mystruct` in this scope [INFO] [stdout] --> src/lib.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 21 | struct MyStruct { [INFO] [stdout] | --------------- similarly named struct `MyStruct` defined here [INFO] [stdout] ... [INFO] [stdout] 42 | let demo_data = Mystruct { [INFO] [stdout] | ^^^^^^^^ help: a struct with a similar name exists (notice the capitalization): `MyStruct` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compressed` [INFO] [stdout] --> src/lib.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | let compressed = Compressed::from_bytes(compressed_bytes); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Compressed` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 17 + use comprez::Compressed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compressed` [INFO] [stdout] --> src/lib.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let compressed = Compressed::from_binaries(compressed_binaries); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Compressed` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 17 + use comprez::Compressed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mystruct` [INFO] [stdout] --> src/lib.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let decompressed = Mystruct::decompressed(compressed).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Mystruct` [INFO] [stdout] | help: a struct with a similar name exists (notice the capitalization): `MyStruct` [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/comprezable.rs - comprezable::Comprezable::compress (line 6) [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2b2a63bdf7e3e9f0120eb2cd7485b997e18e59b05523a6e05e12f9a75878ba95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b2a63bdf7e3e9f0120eb2cd7485b997e18e59b05523a6e05e12f9a75878ba95", kill_on_drop: false }` [INFO] [stdout] 2b2a63bdf7e3e9f0120eb2cd7485b997e18e59b05523a6e05e12f9a75878ba95