[INFO] fetching crate macron-impl-from 0.1.1... [INFO] testing macron-impl-from-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate macron-impl-from 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate macron-impl-from 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate macron-impl-from 0.1.1 [INFO] tweaked toml for crates.io crate macron-impl-from 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate macron-impl-from 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate macron-impl-from 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7f15273ef616085d5232270ae423f7cf84ef744b19ce0ff17d0bcdb0af25382 [INFO] running `Command { std: "docker" "start" "-a" "e7f15273ef616085d5232270ae423f7cf84ef744b19ce0ff17d0bcdb0af25382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7f15273ef616085d5232270ae423f7cf84ef744b19ce0ff17d0bcdb0af25382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f15273ef616085d5232270ae423f7cf84ef744b19ce0ff17d0bcdb0af25382", kill_on_drop: false }` [INFO] [stdout] e7f15273ef616085d5232270ae423f7cf84ef744b19ce0ff17d0bcdb0af25382 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0add168f051fa96d311e732dce956489b410caa0f2f50d1a1db10aa46024b5b [INFO] running `Command { std: "docker" "start" "-a" "b0add168f051fa96d311e732dce956489b410caa0f2f50d1a1db10aa46024b5b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling macron-impl-from v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.28s [INFO] running `Command { std: "docker" "inspect" "b0add168f051fa96d311e732dce956489b410caa0f2f50d1a1db10aa46024b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0add168f051fa96d311e732dce956489b410caa0f2f50d1a1db10aa46024b5b", kill_on_drop: false }` [INFO] [stdout] b0add168f051fa96d311e732dce956489b410caa0f2f50d1a1db10aa46024b5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2769756356e99cd0c01204fe04974e5f97c3fe6f6ab51976f28c688a0543e4a [INFO] running `Command { std: "docker" "start" "-a" "b2769756356e99cd0c01204fe04974e5f97c3fe6f6ab51976f28c688a0543e4a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling macron-impl-from v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "b2769756356e99cd0c01204fe04974e5f97c3fe6f6ab51976f28c688a0543e4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2769756356e99cd0c01204fe04974e5f97c3fe6f6ab51976f28c688a0543e4a", kill_on_drop: false }` [INFO] [stdout] b2769756356e99cd0c01204fe04974e5f97c3fe6f6ab51976f28c688a0543e4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 594c1a3a232f59246fcb6c3e2ab05a4d75e825558e24b79f2162218516da1eea [INFO] running `Command { std: "docker" "start" "-a" "594c1a3a232f59246fcb6c3e2ab05a4d75e825558e24b79f2162218516da1eea", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/macron_impl_from-5625d3904e63cbe6) [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] Running tests/test_impl_from.rs (/opt/rustwide/target/debug/deps/test_impl_from-4768d742fe950fdc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_impl_from_struct ... ok [INFO] [stdout] test test_impl_from_enum ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests macron_impl_from [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error: cannot find derive macro `From` in this scope [INFO] [stdout] --> src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(From, Debug, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `From` is in scope, but it is only a trait, without a derive macro [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use macron_impl_from::From; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[from(Insertion, "Self { insertion: value }")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(Test { insertion: Insertion {} }, Test::from(Insertion {})); [INFO] [stdout] | ---------- ^^^^^^^^^^^^ expected `Test`, found `Insertion` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `main::_doctest_main_src_lib_rs_20_0::Test` [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(Test { insertion: Insertion {} }, Test::from(main::_doctest_main_src_lib_rs_20_0::Test { insertion: Insertion {} })); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error: cannot find derive macro `From` in this scope [INFO] [stdout] --> src/lib.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(From, Debug, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `From` is in scope, but it is only a trait, without a derive macro [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use macron_impl_from::From; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[from(Insertion, "Self::Insertion(value)")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[from(Insertion2, "value")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[from(Insertion3, "insertion: value")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[from] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[from] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(Test::Insertion(Insertion {}), Test::from(Insertion {})); [INFO] [stdout] | ---------- ^^^^^^^^^^^^ expected `Test`, found `Insertion` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `main::_doctest_main_src_lib_rs_32_0::Test::Insertion` [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(Test::Insertion(Insertion {}), Test::from(main::_doctest_main_src_lib_rs_32_0::Test::Insertion(Insertion {}))); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(Test::Insertion2(Insertion2 {}), Test::from(Insertion2 {})); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ expected `Test`, found `Insertion2` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `main::_doctest_main_src_lib_rs_32_0::Test::Insertion2` [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(Test::Insertion2(Insertion2 {}), Test::from(main::_doctest_main_src_lib_rs_32_0::Test::Insertion2(Insertion2 {}))); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:68:70 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(Test::Insertion3 { insertion: Insertion3 {} }, Test::from(Insertion3 {})); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ expected `Test`, found `Insertion3` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `main::_doctest_main_src_lib_rs_32_0::Test::Insertion3` [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(Test::Insertion3 { insertion: Insertion3 {} }, Test::from(main::_doctest_main_src_lib_rs_32_0::Test::Insertion3 { insertion: Insertion3 {} })); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(Test::Insertion4(Insertion4 {}), Test::from(Insertion4 {})); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ expected `Test`, found `Insertion4` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `main::_doctest_main_src_lib_rs_32_0::Test::Insertion4` [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(Test::Insertion4(Insertion4 {}), Test::from(main::_doctest_main_src_lib_rs_32_0::Test::Insertion4(Insertion4 {}))); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(Test::Insertion5 { insertion: Insertion5 {} }, Test::from(Insertion5 {})); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ expected `Test`, found `Insertion5` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `main::_doctest_main_src_lib_rs_32_0::Test::Insertion5` [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(Test::Insertion5 { insertion: Insertion5 {} }, Test::from(main::_doctest_main_src_lib_rs_32_0::Test::Insertion5 { insertion: Insertion5 {} })); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "594c1a3a232f59246fcb6c3e2ab05a4d75e825558e24b79f2162218516da1eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594c1a3a232f59246fcb6c3e2ab05a4d75e825558e24b79f2162218516da1eea", kill_on_drop: false }` [INFO] [stdout] 594c1a3a232f59246fcb6c3e2ab05a4d75e825558e24b79f2162218516da1eea