[INFO] fetching crate litcrypt2 0.1.3... [INFO] testing litcrypt2-0.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate litcrypt2 0.1.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate litcrypt2 0.1.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate litcrypt2 0.1.3 [INFO] tweaked toml for crates.io crate litcrypt2 0.1.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate litcrypt2 0.1.3 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 litcrypt2 0.1.3 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 472ded57552421e5f507feaaffdc29974ded458c8c5039e648f4f8689f213e88 [INFO] running `Command { std: "docker" "start" "-a" "472ded57552421e5f507feaaffdc29974ded458c8c5039e648f4f8689f213e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "472ded57552421e5f507feaaffdc29974ded458c8c5039e648f4f8689f213e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472ded57552421e5f507feaaffdc29974ded458c8c5039e648f4f8689f213e88", kill_on_drop: false }` [INFO] [stdout] 472ded57552421e5f507feaaffdc29974ded458c8c5039e648f4f8689f213e88 [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] 520aa0024b567e8b41948c8b0e34615fa0612b374c1fd25226237afdca223c5f [INFO] running `Command { std: "docker" "start" "-a" "520aa0024b567e8b41948c8b0e34615fa0612b374c1fd25226237afdca223c5f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling litcrypt2 v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.03s [INFO] running `Command { std: "docker" "inspect" "520aa0024b567e8b41948c8b0e34615fa0612b374c1fd25226237afdca223c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "520aa0024b567e8b41948c8b0e34615fa0612b374c1fd25226237afdca223c5f", kill_on_drop: false }` [INFO] [stdout] 520aa0024b567e8b41948c8b0e34615fa0612b374c1fd25226237afdca223c5f [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] 2e6d019ffe4bbd15482589f15016c1b9927887198b25d5a1bb52e15ae300af59 [INFO] running `Command { std: "docker" "start" "-a" "2e6d019ffe4bbd15482589f15016c1b9927887198b25d5a1bb52e15ae300af59", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling expectest v0.12.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling litcrypt2 v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/litcrypt.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | #[macro_use(expect)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.27s [INFO] running `Command { std: "docker" "inspect" "2e6d019ffe4bbd15482589f15016c1b9927887198b25d5a1bb52e15ae300af59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6d019ffe4bbd15482589f15016c1b9927887198b25d5a1bb52e15ae300af59", kill_on_drop: false }` [INFO] [stdout] 2e6d019ffe4bbd15482589f15016c1b9927887198b25d5a1bb52e15ae300af59 [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] 66af504af5d131bff13783f3cfc260f3ddc73d7b6274f18708cca845eb39c5c5 [INFO] running `Command { std: "docker" "start" "-a" "66af504af5d131bff13783f3cfc260f3ddc73d7b6274f18708cca845eb39c5c5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/litcrypt.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | #[macro_use(expect)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `litcrypt2` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/litcrypt.rs (/opt/rustwide/target/debug/deps/litcrypt2-d1b4a12b594a4890) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test xor::tests::xor_valid_result ... ok [INFO] [stdout] test xor::tests::xor_empty_key ... ok [INFO] [stdout] test xor::tests::xor_valid_result_with_one_byte ... ok [INFO] [stdout] test xor::tests::xor_with_byte_valid_result ... ok [INFO] [stdout] test xor::tests::xor_empty_source ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-f9b50ed5bbdcb3db) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_env ... ok [INFO] [stdout] test test_literal1 ... ok [INFO] [stdout] test test_raw2 ... ok [INFO] [stdout] test test_raw3 ... ok [INFO] [stdout] test test_literal2 ... ok [INFO] [stdout] test test_raw1 ... ok [INFO] [stderr] Doc-tests litcrypt2 [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/litcrypt.rs - (line 47) ... FAILED [INFO] [stdout] test src/litcrypt.rs - (line 60) ... FAILED [INFO] [stdout] test src/litcrypt.rs - (line 53) ... FAILED [INFO] [stdout] test src/litcrypt.rs - (line 15) ... FAILED [INFO] [stdout] test src/litcrypt.rs - (line 22) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/litcrypt.rs - (line 47) stdout ---- [INFO] [stdout] error: expected item, found `$` [INFO] [stdout] --> src/litcrypt.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | $ export LITCRYPT_ENCRYPT_KEY="myverysuperdupermegaultrasecretkey" [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/litcrypt.rs - (line 60) stdout ---- [INFO] [stdout] error: expected item, found `$` [INFO] [stdout] --> src/litcrypt.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | $ cargo run --example simple [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/litcrypt.rs - (line 53) stdout ---- [INFO] [stdout] error: expected item, found `$` [INFO] [stdout] --> src/litcrypt.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | $ strings target/debug/my_valuable_app | grep Voldemort [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/litcrypt.rs - (line 15) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/litcrypt.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | [dependencies] [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/litcrypt.rs - (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/litcrypt.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | use_litcrypt!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] = help: consider importing this module: [INFO] [stdout] std::vec [INFO] [stdout] = note: this error originates in the macro `use_litcrypt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/litcrypt.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | use_litcrypt!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] = help: consider importing this module: [INFO] [stdout] std::string [INFO] [stdout] = note: this error originates in the macro `use_litcrypt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/litcrypt.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | use_litcrypt!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] = help: consider importing this struct: [INFO] [stdout] std::string::String [INFO] [stdout] = note: this error originates in the macro `use_litcrypt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/litcrypt.rs - (line 15) [INFO] [stdout] src/litcrypt.rs - (line 22) [INFO] [stdout] src/litcrypt.rs - (line 47) [INFO] [stdout] src/litcrypt.rs - (line 53) [INFO] [stdout] src/litcrypt.rs - (line 60) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "66af504af5d131bff13783f3cfc260f3ddc73d7b6274f18708cca845eb39c5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66af504af5d131bff13783f3cfc260f3ddc73d7b6274f18708cca845eb39c5c5", kill_on_drop: false }` [INFO] [stdout] 66af504af5d131bff13783f3cfc260f3ddc73d7b6274f18708cca845eb39c5c5