[INFO] fetching crate mini_template_macro 0.1.0... [INFO] testing mini_template_macro-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate mini_template_macro 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mini_template_macro 0.1.0 [INFO] finished tweaking crates.io crate mini_template_macro 0.1.0 [INFO] tweaked toml for crates.io crate mini_template_macro 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mini_template_macro 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.5.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.117) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b81e2ef22b28add892696ea0c310d29f788c0d82ebb4d208e96de41c145f0c5e [INFO] running `Command { std: "docker" "start" "-a" "b81e2ef22b28add892696ea0c310d29f788c0d82ebb4d208e96de41c145f0c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b81e2ef22b28add892696ea0c310d29f788c0d82ebb4d208e96de41c145f0c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81e2ef22b28add892696ea0c310d29f788c0d82ebb4d208e96de41c145f0c5e", kill_on_drop: false }` [INFO] [stdout] b81e2ef22b28add892696ea0c310d29f788c0d82ebb4d208e96de41c145f0c5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d264cd34d57aa607a55c6bcb9c4ab17354587137056bdce1ce8dc5496a0c02a9 [INFO] running `Command { std: "docker" "start" "-a" "d264cd34d57aa607a55c6bcb9c4ab17354587137056bdce1ce8dc5496a0c02a9", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling mini_template_macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.27s [INFO] running `Command { std: "docker" "inspect" "d264cd34d57aa607a55c6bcb9c4ab17354587137056bdce1ce8dc5496a0c02a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d264cd34d57aa607a55c6bcb9c4ab17354587137056bdce1ce8dc5496a0c02a9", kill_on_drop: false }` [INFO] [stdout] d264cd34d57aa607a55c6bcb9c4ab17354587137056bdce1ce8dc5496a0c02a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a2f886ce86ebfe92db00eb6697920dec93147b40622e72b43ea43a55999b121 [INFO] running `Command { std: "docker" "start" "-a" "0a2f886ce86ebfe92db00eb6697920dec93147b40622e72b43ea43a55999b121", kill_on_drop: false }` [INFO] [stderr] Compiling mini_template_macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "0a2f886ce86ebfe92db00eb6697920dec93147b40622e72b43ea43a55999b121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a2f886ce86ebfe92db00eb6697920dec93147b40622e72b43ea43a55999b121", kill_on_drop: false }` [INFO] [stdout] 0a2f886ce86ebfe92db00eb6697920dec93147b40622e72b43ea43a55999b121 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f73e604287a08e644329e6af8a770e5b34b04393ec473e8d66d90d3da9ceb078 [INFO] running `Command { std: "docker" "start" "-a" "f73e604287a08e644329e6af8a770e5b34b04393ec473e8d66d90d3da9ceb078", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mini_template_macro-105a781c703e16a5) [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 mini_template_macro [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/create_modifier.rs - create_modifier::create_modifier (line 32) ... FAILED [INFO] [stdout] test src/create_modifier.rs - create_modifier::create_modifier (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/create_modifier.rs - create_modifier::create_modifier (line 32) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `mini_template` in this scope [INFO] [stdout] --> src/create_modifier.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use mini_template::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mini_template` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mini_template`, use `cargo add mini_template` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mini_template_derive` [INFO] [stdout] --> src/create_modifier.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use mini_template_derive::create_modifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mini_template_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - use mini_template_derive::create_modifier; [INFO] [stdout] 34 + use mini_template_macro::create_modifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/create_modifier.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(as_usize(&Value::String("17".to_owned()), Vec::default()).is_ok()); [INFO] [stdout] | ^^^^^^^^ -------------- unexpected argument #2 of type `Vec<_>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/create_modifier.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn as_usize(n: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 45 - assert!(as_usize(&Value::String("17".to_owned()), Vec::default()).is_ok()); [INFO] [stdout] 45 + assert!(as_usize(&Value::String("17".to_owned())).is_ok()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/create_modifier.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(as_usize(&Value::String("Foo".to_owned()), Vec::default()).is_err()); [INFO] [stdout] | ^^^^^^^^ -------------- unexpected argument #2 of type `Vec<_>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/create_modifier.rs:37:4 [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] 37 | fn as_usize(n: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 46 - assert!(as_usize(&Value::String("Foo".to_owned()), Vec::default()).is_err()); [INFO] [stdout] 46 + assert!(as_usize(&Value::String("Foo".to_owned())).is_err()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/create_modifier.rs - create_modifier::create_modifier (line 8) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `mini_template` in this scope [INFO] [stdout] --> src/create_modifier.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mini_template::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mini_template` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mini_template`, use `cargo add mini_template` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mini_template_derive` [INFO] [stdout] --> src/create_modifier.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mini_template_derive::create_modifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mini_template_derive` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use mini_template_derive::create_modifier; [INFO] [stdout] 10 + use mini_template_macro::create_modifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/create_modifier.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fizz_buzz( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | &Value::Number(3.), [INFO] [stdout] 26 | Vec::default() [INFO] [stdout] | -------------- unexpected argument #2 of type `Vec<_>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/create_modifier.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn fizz_buzz(n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 25 - &Value::Number(3.), [INFO] [stdout] 26 - Vec::default() [INFO] [stdout] 25 + &Value::Number(3.) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433. [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/create_modifier.rs - create_modifier::create_modifier (line 32) [INFO] [stdout] src/create_modifier.rs - create_modifier::create_modifier (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f73e604287a08e644329e6af8a770e5b34b04393ec473e8d66d90d3da9ceb078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f73e604287a08e644329e6af8a770e5b34b04393ec473e8d66d90d3da9ceb078", kill_on_drop: false }` [INFO] [stdout] f73e604287a08e644329e6af8a770e5b34b04393ec473e8d66d90d3da9ceb078